Skip to content

Commit

Permalink
ci: prepare for golangci-lint-action v3
Browse files Browse the repository at this point in the history
It needs golang to be installed (if the default golang which comes
preinstalled in Ubuntu is not new/good enough).

In our case, we need at least go 1.16, and can use 1.17 or 1.18 (when
it is released), but we don't set it explicitly here to ease the
maintenance burden (1.x should point to the latest stable).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Mar 1, 2022
1 parent 558b832 commit 4f4c47a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/validate.yml
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.x # Latest stable
- name: install deps
run: |
sudo apt -q update
Expand All @@ -30,6 +33,9 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.x # Latest stable
- name: install deps
run: |
sudo apt -q update
Expand Down

0 comments on commit 4f4c47a

Please sign in to comment.