diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 546bcdd..c1482cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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] diff --git a/cmd/go.mod b/cmd/go.mod index 8d84e33..f03f609 100644 --- a/cmd/go.mod +++ b/cmd/go.mod @@ -1,6 +1,6 @@ module github.com/containerd/cgroups/cmd -go 1.18 +go 1.19 replace github.com/containerd/cgroups/v3 => ../ diff --git a/go.mod b/go.mod index c39ea46..7cd153a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/containerd/cgroups/v3 -go 1.18 +go 1.19 require ( github.com/cilium/ebpf v0.11.0