.github/workflows: upgrade staticcheck-action to v1.4.0

While at it, also bump go version to 1.24
This commit is contained in:
Cuong Manh Le
2025-11-12 15:07:44 +07:00
committed by Cuong Manh Le
parent 36d4192c05
commit f9d026334a

View File

@@ -9,7 +9,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: ["windows-latest", "ubuntu-latest", "macOS-latest"] os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
go: ["1.23.x"] go: ["1.24.x"]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@@ -19,8 +19,8 @@ jobs:
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- run: "go test -race ./..." - run: "go test -race ./..."
- uses: dominikh/staticcheck-action@v1.3.1 - uses: dominikh/staticcheck-action@v1.4.0
with: with:
version: "2024.1.1" version: "2025.1.1"
install-go: false install-go: false
cache-key: ${{ matrix.go }} cache-key: ${{ matrix.go }}