Skip to content

Commit

Permalink
Merge pull request #342 from thaJeztah/update_go_versions
Browse files Browse the repository at this point in the history
go.mod: update to go1.19 as minimum, and add go1.22.x to GHA
  • Loading branch information
dmcgowan authored Jun 21, 2024
2 parents 7739607 + d726ca6 commit 29eaa5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.20.x'
go-version: '1.22.x'
cache-dependency-path: src/github.com/containerd/cgroups

- name: Project checks
Expand All @@ -50,7 +50,7 @@ jobs:

strategy:
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.19.x, 1.21.x, 1.22.x]

steps:
- name: Checkout cgroups
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:

strategy:
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.19.x, 1.21.x, 1.22.x]
# Ubuntu-20.04 has cgroups v1 default; Ubuntu-22.04 has cgroups v2 default.
os: [ubuntu-20.04, ubuntu-22.04]

Expand Down
2 changes: 1 addition & 1 deletion cmd/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/containerd/cgroups/cmd

go 1.18
go 1.19

replace github.com/containerd/cgroups/v3 => ../

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/containerd/cgroups/v3

go 1.18
go 1.19

require (
github.com/cilium/ebpf v0.11.0
Expand Down

0 comments on commit 29eaa5d

Please sign in to comment.