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]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
golint:
|
golint:
|
||||||
runs-on: nixos
|
runs-on: native
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: nix develop
|
||||||
|
run: nix develop
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
run: golangci-lint run
|
run: golangci-lint run
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,6 @@ pre-commit:
|
||||||
glob: "*.go"
|
glob: "*.go"
|
||||||
run: gofmt -w {staged_files}
|
run: gofmt -w {staged_files}
|
||||||
stage_fixed: true
|
stage_fixed: true
|
||||||
golint:
|
|
||||||
glob: "*.go"
|
|
||||||
run: golangci-lint run --fix --new-from-rev=HEAD
|
|
||||||
stage_fixed: true
|
|
||||||
prettier:
|
prettier:
|
||||||
glob: "*.{html,js,ts,vue,scss}"
|
glob: "*.{html,js,ts,vue,scss}"
|
||||||
run: prettier -w {staged_files}
|
run: prettier -w {staged_files}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue