fix: change checkout out of colangci-lint
Some checks failed
Go CI Pipeline / ci (push) Failing after 15s
Some checks failed
Go CI Pipeline / ci (push) Failing after 15s
This commit is contained in:
parent
43deb72b2d
commit
63c0b0c953
1 changed files with 6 additions and 9 deletions
|
|
@ -18,15 +18,12 @@ jobs:
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: go mod tidy
|
run: go mod tidy
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: Install golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
run: |
|
||||||
with:
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.12.0
|
||||||
version: v2-latest
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
|
- name: Run golangci-lint
|
||||||
# - name: Lint code
|
run: golangci-lint run
|
||||||
# run: |
|
|
||||||
# go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
|
||||||
# golangci-lint run
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue