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
33on : [ push, pull_request ]
44
55jobs :
6- test-ubuntu-20_04 :
7- runs-on : ubuntu-20 .04
6+ test-ubuntu-22_04 :
7+ runs-on : ubuntu-22 .04
88
99 steps :
1010 - uses : actions/checkout@v3
@@ -19,18 +19,18 @@ jobs:
1919
2020 - name : Run tests in Go container (1000m)
2121 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
2323
2424 - name : Run tests in Go container (4321m)
2525 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
2727
2828 - name : Run tests in Go container (system memory limit)
2929 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
3131
32- test-ubuntu-22_04 :
33- runs-on : ubuntu-22 .04
32+ test-ubuntu-24_04 :
33+ runs-on : ubuntu-24 .04
3434
3535 steps :
3636 - uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments