Skip to content

.github: drop macos-11 runner #289

.github: drop macos-11 runner

.github: drop macos-11 runner #289

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