Verified Commit f4a891f9 authored by Sumner Evans's avatar Sumner Evans 💬
Browse files

ci: add pre-commit to lint process

parent e9adb491
Pipeline #457804148 passed with stages
in 3 minutes and 5 seconds
stages:
- lint
- build
lint:
image: python:3.10-alpine
stage: lint
before_script:
- pip3 install pre-commit
- apk add --no-cache bash git go
- go install golang.org/x/tools/cmd/goimports@latest
- export PATH="$HOME/go/bin:$PATH"
script:
- "pre-commit run -a"
build:
image: dock.mau.dev/tulir/gomuks-build-docker:linux-amd64
stage: build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment