Skip to content

Offsets for 14.4 Final #41

Offsets for 14.4 Final

Offsets for 14.4 Final #41

Workflow file for this run

name: Pre-commit
on: [push, pull_request]
env:
GO_VERSION: "1.21"
jobs:
lint:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Install dependencies
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
export PATH="$HOME/go/bin:$PATH"
- name: Run pre-commit
uses: pre-commit/action@v3.0.0