Skip to content

Commit dd123e1

Browse files
Bump golangci/golangci-lint-action from 2.5.2 to 3 (#691)
* Bump golangci/golangci-lint-action from 2.5.2 to 3 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2.5.2 to 3. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@5c56cd6...c675eb7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * add required go installation, update version comments Signed-off-by: Carlos Panato <ctadeu@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Panato <ctadeu@gmail.com>
1 parent 2073152 commit dd123e1

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/verify.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
name: license boilerplate check
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 #v2.4.0
28+
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
2929
- name: Extract version of Go to use
3030
run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
31-
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 #v2.2.0
31+
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
3232
with:
3333
go-version: ${{ env.GOVERSION }}
3434
- name: Install addlicense
@@ -43,11 +43,14 @@ jobs:
4343
name: lint
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 #v2.4.0
47-
- name: deps
48-
run: sudo apt-get update && sudo apt-get install -yq libpcsclite-dev
46+
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
47+
- name: Extract version of Go to use
48+
run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
49+
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
50+
with:
51+
go-version: ${{ env.GOVERSION }}
4952
- name: golangci-lint
50-
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 #v2.5.2
53+
uses: golangci/golangci-lint-action@c675eb70db3aa26b496bc4e64da320480338d41b # v3
5154
timeout-minutes: 5
5255
with:
53-
version: latest
56+
version: v1.44.2

0 commit comments

Comments
 (0)