From 72dd30febaac0bb2e5fa995cd40514fec7718919 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 10 Nov 2020 11:34:57 +0100 Subject: [PATCH] gha: specify full version for golang-ci-lint to speedup selection Noticed this in the CI output: Requested golangci-lint 'v1.29', using 'v1.29.0', calculation took 7969ms Installing golangci-lint v1.29.0... Downloading https://github.com/golangci/golangci-lint/releases/download/v1.29.0/golangci-lint-1.29.0-darwin-amd64.tar.gz ... Using nearly 8 seconds to convert v1.29 to v1.29.0 seems a bit long, so hard-coding to the full version to speedup CI somewhat. Signed-off-by: Sebastiaan van Stijn --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cea3966cc..3ab6ae560 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - uses: golangci/golangci-lint-action@v2 with: - version: v1.29 + version: v1.29.0 working-directory: src/github.com/containerd/containerd args: --timeout=5m