Skip to content

Commit 0bcc0a3

Browse files
dependabot[bot]SVilgelmldez
authored
build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (#2627)
Co-authored-by: Sergey Vilgelm <[email protected]> Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 6fc688a commit 0bcc0a3

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/pr-extra.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Extra
22
on:
33
push:
4-
tags:
5-
- v*
64
branches:
75
- master
86
pull_request:
7+
98
jobs:
109
vulns:
1110
name: Vulnerability scanner

.github/workflows/pr.yml

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
---
21
name: CI
32
on:
43
push:
5-
tags:
6-
- v*
74
branches:
85
- master
96
pull_request:
7+
8+
env:
9+
GO_VERSION: 1.17
10+
1011
jobs:
1112
# Check if there any dirty change for go mod tidy
1213
go-mod:
@@ -15,7 +16,7 @@ jobs:
1516
- name: Install Go
1617
uses: actions/setup-go@v2
1718
with:
18-
go-version: 1.17
19+
go-version: ${{ env.GO_VERSION }}
1920
- name: Checkout code
2021
uses: actions/checkout@v2
2122
- name: Check go mod
@@ -29,8 +30,12 @@ jobs:
2930
runs-on: ubuntu-latest
3031
steps:
3132
- uses: actions/checkout@v2
33+
- name: Install Go
34+
uses: actions/setup-go@v2
35+
with:
36+
go-version: ${{ env.GO_VERSION }}
3237
- name: lint
33-
uses: golangci/golangci-lint-action@v2.5.2
38+
uses: golangci/golangci-lint-action@v3.1.0
3439
with:
3540
version: latest
3641
# skip cache because of flaky behaviors
@@ -45,10 +50,11 @@ jobs:
4550
- name: Install Go
4651
uses: actions/setup-go@v2
4752
with:
48-
go-version: 1.17 # test only the latest go version to speed up CI
53+
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
4954
- name: Run tests
5055
run: make.exe test
5156
continue-on-error: true
57+
5258
tests-on-macos:
5359
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
5460
runs-on: macos-latest
@@ -57,9 +63,10 @@ jobs:
5763
- name: Install Go
5864
uses: actions/setup-go@v2
5965
with:
60-
go-version: 1.17 # test only the latest go version to speed up CI
66+
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
6167
- name: Run tests
6268
run: make test
69+
6370
tests-on-unix:
6471
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
6572
runs-on: ubuntu-latest
@@ -82,6 +89,7 @@ jobs:
8289
${{ runner.os }}-go-${{ matrix.golang }}-
8390
- name: Run tests
8491
run: make test
92+
8593
check_generated:
8694
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
8795
runs-on: ubuntu-latest
@@ -95,6 +103,6 @@ jobs:
95103
- name: Install Go
96104
uses: actions/setup-go@v2
97105
with:
98-
go-version: 1.17
106+
go-version: ${{ env.GO_VERSION }}
99107
- name: Check generated files are up to date
100108
run: make fast_check_generated

.github/workflows/tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
---
21
name: "Release a tag"
32
on:
43
push:
54
tags:
65
- v*
6+
77
jobs:
88
release:
99
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)