File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ name: go
22
33on : [pull_request]
44
5- env :
6- GOPRIVATE : github.com/ninech/apis
7- GH_ACCESS_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
8-
95jobs :
106 lint :
117 name : lint
1511 - uses : actions/setup-go@v6
1612 with :
1713 go-version : stable
18- - run : git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
1914 - run : go mod tidy -diff
2015 - run : go vet ./...
2116 - uses : golangci/golangci-lint-action@v9
2621 with :
2722 install-go : false
2823 - run : go fix -diff ./... | awk '{print} /\S/ {found=1} END {if (found) exit 1}'
24+ - uses : golang/govulncheck-action@v1
25+ with :
26+ repo-checkout : false
27+ go-version : stable
2928 spell-check :
3029 name : spell-check
3130 runs-on : ubuntu-latest
@@ -34,12 +33,10 @@ jobs:
3433 - uses : crate-ci/typos@v1.43.5
3534 test :
3635 name : test
37- container : ninech/controller-test-image:latest
3836 runs-on : ubuntu-latest
3937 steps :
4038 - uses : actions/checkout@v6
4139 - uses : actions/setup-go@v6
4240 with :
4341 go-version : stable
44- - run : git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
4542 - run : make test
You can’t perform that action at this time.
0 commit comments