Skip to content

Commit

Permalink
CI: drop Go 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Nov 20, 2024
1 parent d98c3a5 commit 1186f06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

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

steps:
- name: Checkout cgroups
Expand All @@ -67,7 +67,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.57.1
version: v1.62.0
args: --verbose
working-directory: src/github.com/containerd/cgroups

Expand All @@ -78,7 +78,7 @@ jobs:

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

Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.19.x'
go-version: '1.22.x'
cache-dependency-path: src/github.com/containerd/cgroups

- name: Set env
Expand Down
2 changes: 1 addition & 1 deletion cgroup1/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func getMemorySettings(resources *specs.LinuxResources) []memorySettings {
},
{
name: "kmem.limit_in_bytes",
value: mem.Kernel,
value: mem.Kernel, //nolint:staticcheck // SA1019: mem.Kernel is deprecated
},
{
name: "kmem.tcp.limit_in_bytes",
Expand Down

0 comments on commit 1186f06

Please sign in to comment.