Skip to content

Commit

Permalink
Require go 1.22
Browse files Browse the repository at this point in the history
This allows using useful new packages such as slices package and other
fixes. This also matches lima requirement.

Updating also golanci-lint based on lima test workflow.

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Nov 3, 2024
1 parent ab791cc commit 11847eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: v1.52.2
version: v1.60.1
args: --verbose
- name: Install qemu-img as a test dependency
run: |
Expand Down
2 changes: 1 addition & 1 deletion cmd/go-qcow2reader-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lima-vm/go-qcow2reader/cmd/go-qcow2reader-example

go 1.20
go 1.22

require (
github.com/klauspost/compress v1.16.5
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/lima-vm/go-qcow2reader

go 1.20
go 1.22

0 comments on commit 11847eb

Please sign in to comment.