From 6338d3042c19869589133c9fd2092528ef414420 Mon Sep 17 00:00:00 2001 From: Alberto Barba Date: Tue, 19 Nov 2024 11:56:03 +0100 Subject: [PATCH] fix: use the specified go version in lint jobs Signed-off-by: Alberto Barba --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8f7854e..45f647aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go }} + go-version: ${{ matrix.go-version }} cache-dependency-path: src/github.com/containerd/cgroups - name: golangci-lint @@ -92,7 +92,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go }} + go-version: ${{ matrix.go-version }} # Disable Go caching feature when compiling across Linux distributions due to collisions until https://github.com/actions/setup-go/issues/368 is resolved. cache: false