Skip to content

.github: Bump actions/checkout from 4.1.4 to 4.1.5 #285

.github: Bump actions/checkout from 4.1.4 to 4.1.5

.github: Bump actions/checkout from 4.1.4 to 4.1.5 #285

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@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: '1.22'
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- 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 ./...