Skip to content

Add binary hash for 12.7.2 (#29) #33

Add binary hash for 12.7.2 (#29)

Add binary hash for 12.7.2 (#29) #33

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/[email protected]