diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml
index 4e9c0b9..c605d6f 100644
--- a/.github/workflows/static-analysis.yml
+++ b/.github/workflows/static-analysis.yml
@@ -14,12 +14,12 @@ jobs:
 
     steps:
     - name: Install Go
-      uses: actions/setup-go@v3
+      uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2
       with:
-        go-version: '1.17'
+        go-version: '1.18'
 
     - name: Check out code
-      uses: actions/checkout@v3
+      uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
 
     - name: Install staticcheck
       run: go install honnef.co/go/tools/cmd/staticcheck@latest
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e702647..c00a4d6 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -18,12 +18,12 @@ jobs:
 
     steps:
     - name: Install Go
-      uses: actions/setup-go@v3
+      uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2
       with:
         go-version: ${{ matrix.go-version }}
 
     - name: Check out code
-      uses: actions/checkout@v3
+      uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
 
     - name: Check formatting
       if: ${{ matrix.go-version == '1.18' && matrix.os == 'ubuntu-latest' }}