Skip to content

.github: bump vmactions/netbsd-vm from 1.4.5 to 1.4.6 #562

.github: bump vmactions/netbsd-vm from 1.4.5 to 1.4.6

.github: bump vmactions/netbsd-vm from 1.4.5 to 1.4.6 #562

name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v5.0.2
with:
go-version: '1.26'
- 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 ./...