Sam Kleinman
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
4 deletions
-
.github/workflows/lint.yml
-
.github/workflows/linter.yml
-
.golangci.yml
|
|
@ -13,7 +13,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 8 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2.3.4 |
|
|
|
- uses: actions/checkout@v2.4.0 |
|
|
|
- uses: technote-space/get-diff-action@v5 |
|
|
|
with: |
|
|
|
PATTERNS: | |
|
|
@ -23,7 +23,7 @@ jobs: |
|
|
|
- uses: golangci/golangci-lint-action@v2.5.2 |
|
|
|
with: |
|
|
|
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. |
|
|
|
version: v1.38 |
|
|
|
version: v1.42.1 |
|
|
|
args: --timeout 10m |
|
|
|
github-token: ${{ secrets.github_token }} |
|
|
|
if: env.GIT_DIFF |
|
|
@ -19,7 +19,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- name: Checkout Code |
|
|
|
uses: actions/checkout@v2.3.4 |
|
|
|
uses: actions/checkout@v2.4.0 |
|
|
|
- name: Lint Code Base |
|
|
|
uses: docker://github/super-linter:v3 |
|
|
|
env: |
|
|
|
|
|
@ -18,7 +18,7 @@ linters: |
|
|
|
# - godox |
|
|
|
- gofmt |
|
|
|
- goimports |
|
|
|
# - golint |
|
|
|
- revive |
|
|
|
- gosec |
|
|
|
- gosimple |
|
|
|
- govet |
|
|
|