From 4f4c47a33949ad7b9c610a60a56678de43eb50fe Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 28 Feb 2022 17:54:33 -0800 Subject: [PATCH] ci: prepare for golangci-lint-action v3 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 --- .github/workflows/validate.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f238a53d529..ce561944e7a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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 @@ -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