Skip to content

Commit

Permalink
fix: use the specified go version in lint jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Barba <alberto.barba@sysdig.com>
  • Loading branch information
AlbertoBarba committed Nov 19, 2024
1 parent ffca7ca commit 6338d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6338d30

Please sign in to comment.