gonum.org/v1/gonum@v0.15.1-0.20240517103525-f853624cb1bb/.github/workflows/staticcheck.yml (about) 1 name: Staticcheck 2 on: 3 pull_request: 4 branches: [master] 5 6 jobs: 7 ci: 8 name: lint 9 strategy: 10 matrix: 11 go: ["1.21.x"] 12 runs-on: ubuntu-latest 13 env: 14 GO111MODULE: on 15 steps: 16 - uses: actions/checkout@v4 17 with: 18 fetch-depth: 1 19 - uses: WillAbides/setup-go-faster@v1.7.0 20 with: 21 go-version: ${{ matrix.go }} 22 - uses: dominikh/staticcheck-action@v1.3.0 23 with: 24 version: "2023.1.6" 25 install-go: false 26 cache-key: ${{ matrix.go }}