Skip to content

.github: Bump actions/checkout from 4.2.1 to 4.2.2 #322

.github: Bump actions/checkout from 4.2.1 to 4.2.2

.github: Bump actions/checkout from 4.2.1 to 4.2.2 #322

name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.23'
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run staticcheck
run: |
staticcheck -version
staticcheck -- ./...
- name: Run go vet
run: go vet ./...