Skip to content

Commit

Permalink
Merge pull request #585 from EmerisHQ/ci/fix-linter-to-use-go-1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Pitasi authored Mar 18, 2022
2 parents 12bda52 + 0121c48 commit c29bd45
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,21 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v2

- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Configure git for private modules
env:
GIT_TOKEN: ${{ secrets.TENDERBOT_GIT_TOKEN }}
run: git config --global url."https://git:${GIT_TOKEN}@github.com".insteadOf "https://github.com"

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3.1.0
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.43
version: v1.44
args: --timeout 10m
github-token: ${{ secrets.github_token }}

0 comments on commit c29bd45

Please sign in to comment.