Skip to content

Update pre-commit

Update pre-commit #44

Workflow file for this run

---
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Check out code
uses: actions/checkout@v3
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...