Skip to content

Commit

Permalink
chore(ci): pin golangci-lint version to v1.43 (#1979)
Browse files Browse the repository at this point in the history
* Update `install-lint.sh` to use v1.43.0
* Pin golangci-lint workflow to use v1.43
  • Loading branch information
qdm12 committed Nov 5, 2021
1 parent 912e343 commit 90d200f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: 'latest'
with:
version: v1.43
args: -v

vet-check:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.15.x'
go-version: "1.15.x"
- uses: actions/checkout@v2

- name: Run go vet
Expand All @@ -40,4 +40,4 @@ jobs:
env:
RAW_TITLE: ${{ github.event.pull_request.title }}
RAW_BODY: ${{ github.event.pull_request.body }}
RAW_BODY: ${{ github.event.pull_request.body }}
2 changes: 1 addition & 1 deletion scripts/install-lint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ -z "${GOPATH}" ]]; then
if [[ -z "${GOPATH}" ]]; then
export GOPATH=~/go
fi

Expand Down

0 comments on commit 90d200f

Please sign in to comment.