Skip to content

.github: Bump actions/setup-go from 5.0.1 to 5.0.2 #300

.github: Bump actions/setup-go from 5.0.1 to 5.0.2

.github: Bump actions/setup-go from 5.0.1 to 5.0.2 #300

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.22'
- name: Check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- 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 ./...