Skip to content

Commit

Permalink
Upgrade golangci-lint version to 1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdaming committed Apr 26, 2022
1 parent bde2002 commit 180cf65
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/golangci_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@ jobs:
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3

- name: Install CGO Libraries
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev
# - name: Install CGO Libraries
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: |
# sudo apt-get update
# sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
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.44
version: v1.45
# Optional: working directory, useful for mono-repos
working-directory: tcr-cli

Expand Down

0 comments on commit 180cf65

Please sign in to comment.