File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Test
3
3
on : [ push, pull_request ]
4
4
5
5
jobs :
6
- test-ubuntu-20_04 :
7
- runs-on : ubuntu-20 .04
6
+ test-ubuntu-22_04 :
7
+ runs-on : ubuntu-22 .04
8
8
9
9
steps :
10
10
- uses : actions/checkout@v3
@@ -19,18 +19,18 @@ jobs:
19
19
20
20
- name : Run tests in Go container (1000m)
21
21
run : |
22
- docker run --rm -v=$(pwd):/app -w=/app -m=1000m golang:1.22 go test -v ./... -expected=1048576000 -cgroup-version 1
22
+ docker run --rm -v=$(pwd):/app -w=/app -m=1000m golang:1.22 go test -v ./... -expected=1048576000 -cgroup-version 2
23
23
24
24
- name : Run tests in Go container (4321m)
25
25
run : |
26
- docker run --rm -v=$(pwd):/app -w=/app -m=4321m golang:1.22 go test -v ./... -expected=4530896896 -cgroup-version 1
26
+ docker run --rm -v=$(pwd):/app -w=/app -m=4321m golang:1.22 go test -v ./... -expected=4530896896 -cgroup-version 2
27
27
28
28
- name : Run tests in Go container (system memory limit)
29
29
run : |
30
- docker run --rm -v=$(pwd):/app -w=/app golang:1.22 go test -v ./... -expected-system=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) * 1024)) -cgroup-version 1
30
+ docker run --rm -v=$(pwd):/app -w=/app golang:1.22 go test -v ./... -expected-system=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) * 1024)) -cgroup-version 2
31
31
32
- test-ubuntu-22_04 :
33
- runs-on : ubuntu-22 .04
32
+ test-ubuntu-24_04 :
33
+ runs-on : ubuntu-24 .04
34
34
35
35
steps :
36
36
- uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments