Skip to content

.github: Bump actions/checkout from 4.1.1 to 4.1.2 #267

.github: Bump actions/checkout from 4.1.1 to 4.1.2

.github: Bump actions/checkout from 4.1.1 to 4.1.2 #267

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@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: '1.22'
- name: Check out code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- 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 ./...