Browse Source

Merge pull request #621 from dop251/upgrade-actions

Upgraded github actions.
Dmitry Panov 1 year ago
parent
commit
5f46f2705c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      .github/workflows/main.yml

+ 4 - 4
.github/workflows/main.yml

@@ -11,20 +11,20 @@ jobs:
     runs-on: ${{ matrix.os }}
     steps:
       - name: Install Go
-        uses: actions/setup-go@v3
+        uses: actions/setup-go@v5
         with:
           go-version: ${{ matrix.go-version }}
       - name: Checkout code
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Check formatting
         run: diff -u <(echo -n) <(gofmt -d .)
         if: ${{ matrix.go-version == '1.x' }}
       - name: Run go vet
         run: go vet ./...
       - name: Run staticcheck
-        uses: dominikh/[email protected].0
+        uses: dominikh/[email protected].1
         with:
-          version: "2023.1.2"
+          version: "2024.1.1"
           install-go: false
           cache-key: ${{ matrix.go-version }}
         if: ${{ matrix.go-version == '1.x' }}