Skip to content

.github: Bump actions/checkout from 4.1.7 to 4.2.0 #308

.github: Bump actions/checkout from 4.1.7 to 4.2.0

.github: Bump actions/checkout from 4.1.7 to 4.2.0 #308

Workflow file for this run

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@d632683dd7b4114ad314bca15554477dd762a938
- 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 ./...