Skip to content

Commit

Permalink
github: bump versions of various actions
Browse files Browse the repository at this point in the history
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 <kolyshkin@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
  • Loading branch information
kolyshkin authored and drakenclimber committed May 10, 2022
1 parent cfd293d commit 3159268
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -21,12 +21,11 @@ jobs:
steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: build libseccomp ${{ matrix.libseccomp }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/validate.yml
Expand Up @@ -14,20 +14,19 @@ jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install deps
run: |
sudo apt -q update
sudo apt -q install libseccomp-dev
- uses: golangci/golangci-lint-action@v2
- uses: golangci/golangci-lint-action@v3
with:
# must be specified without patch version
version: v1.41
version: v1.45

codespell:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install deps
# Version of codespell bundled with Ubuntu is way old, so use pip.
run: pip install codespell
Expand Down

0 comments on commit 3159268

Please sign in to comment.