Skip to content

init doc (#2)

init doc (#2) #4

Workflow file for this run

---
name: Lint
on:
pull_request:
push:
branches:
- "main"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files