It's way too slow, and we have a forge to do it now.
This commit is contained in:
parent
f1fe8b4d2b
commit
0b62bcad50
2 changed files with 3 additions and 5 deletions
|
|
@ -1,9 +1,11 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
golint:
|
||||
runs-on: nixos
|
||||
runs-on: native
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: nix develop
|
||||
run: nix develop
|
||||
- name: golangci-lint
|
||||
run: golangci-lint run
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ pre-commit:
|
|||
glob: "*.go"
|
||||
run: gofmt -w {staged_files}
|
||||
stage_fixed: true
|
||||
golint:
|
||||
glob: "*.go"
|
||||
run: golangci-lint run --fix --new-from-rev=HEAD
|
||||
stage_fixed: true
|
||||
prettier:
|
||||
glob: "*.{html,js,ts,vue,scss}"
|
||||
run: prettier -w {staged_files}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue