Skip to content

use latest staticcheck #62

use latest staticcheck

use latest staticcheck #62

Workflow file for this run

name: "StaticCheck"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
name: "Run CI"
strategy:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
go: ["1.22.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: WillAbides/setup-go-faster@v1
with:
go-version: ${{ matrix.go }}
- run: "go test ./..."
- run: "go vet ./..."
- uses: dominikh/[email protected]
with:
version: "latest"
install-go: false
cache-key: ${{ matrix.go }}