chore(actions): use custom golangci-lint script
@@ -35,6 +35,8 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Lint
- uses: reviewdog/action-golangci-lint@v1
- with:
- github_token: ${{ secrets.github_token }}
+ run: |
+ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.20.1
+ ./golangci-lint config path
+ ./golangci-lint --version
+ GOGC=20 ./golangci-lint run --verbose --deadline 10m --config .golangci.yml
\ No newline at end of file
