Skip to content

ci: test on ubuntu-24.04 and macos-15 runners #326

ci: test on ubuntu-24.04 and macos-15 runners

ci: test on ubuntu-24.04 and macos-15 runners #326

Workflow file for this run

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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: '1.23'
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- 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 ./...