diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7dfdb3c52d1362b2170a6e4a94741bfcbabdb421..08888e6e80b555993ca79c59c3aef310c6f666df 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
-      - uses: actions/setup-go@v2
+      - uses: actions/setup-go@v4
         with:
           go-version: '1.20'
       - run: './build.sh' # verify the thing compiles first
@@ -16,7 +16,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
-      - uses: actions/setup-go@v2
+      - uses: actions/setup-go@v4
         with:
           go-version: '1.20'
       - run: "GOBIN=$PWD/bin go install -v ./cmd/compile_assets"