Skip to content

Commit 3159268

Browse files
kolyshkindrakenclimber
authored andcommitted
github: bump versions of various actions
Bumps: * Update actions/checkout, actions/setup-go, golangci/golangci-lint-action from v2 to v3. * Bump golangci-lint to v1.45. Cleanups: * Remove "stable" parameter for setup-go (not needed since v3, see [1]). * Remove the obsoleted comment for golangci-lint (no longer true, see [2]). [1] https://github.com/actions/setup-go/releases/tag/v3.0.0 [2] golangci/golangci-lint-action#167 Signed-off-by: Kir Kolyshkin <[email protected]> Acked-by: Paul Moore <[email protected]> Signed-off-by: Tom Hromatka <[email protected]>
1 parent cfd293d commit 3159268

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ jobs:
2121
steps:
2222

2323
- name: checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: install go ${{ matrix.go-version }}
27-
uses: actions/setup-go@v2
27+
uses: actions/setup-go@v3
2828
with:
29-
stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
3029
go-version: ${{ matrix.go-version }}
3130

3231
- name: build libseccomp ${{ matrix.libseccomp }}

.github/workflows/validate.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,19 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-20.04
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: install deps
1919
run: |
2020
sudo apt -q update
2121
sudo apt -q install libseccomp-dev
22-
- uses: golangci/golangci-lint-action@v2
22+
- uses: golangci/golangci-lint-action@v3
2323
with:
24-
# must be specified without patch version
25-
version: v1.41
24+
version: v1.45
2625

2726
codespell:
2827
runs-on: ubuntu-20.04
2928
steps:
30-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3130
- name: install deps
3231
# Version of codespell bundled with Ubuntu is way old, so use pip.
3332
run: pip install codespell

0 commit comments

Comments
 (0)