Commit 9da42c2 1 parent 6660b7a commit 9da42c2 Copy full SHA for 9da42c2
File tree 4 files changed +5
-11
lines changed
4 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ blocks:
23
23
prologue :
24
24
commands :
25
25
- sudo sh -c 'swapoff -a && fallocate -l 2G /swapfile && chmod 0600 /swapfile && mkswap /swapfile && swapon /swapfile'
26
- - sudo mkdir -p /usr/local/golang/1.18 && curl -fL "https://go.dev/dl/go1.18 .linux-amd64.tar.gz" | sudo tar -xz -C /usr/local/golang/1.18
27
- - sem-version go 1.18
26
+ - sudo mkdir -p /usr/local/golang/1.19 && curl -fL "https://go.dev/dl/go1.19 .linux-amd64.tar.gz" | sudo tar -xz -C /usr/local/golang/1.19
27
+ - sem-version go 1.19
28
28
- export PATH="$PATH:$(go env GOPATH)/bin"
29
- - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45 .0
29
+ - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.48 .0
30
30
-
go install gotest.tools/[email protected]
31
31
- checkout
32
32
- cache restore
@@ -61,7 +61,7 @@ blocks:
61
61
- cache store
62
62
- name : Run unit tests on previous stable Go
63
63
commands :
64
- - sem-version go 1.17
64
+ - sem-version go 1.18
65
65
- go test -v ./cmd/bpf2go -run TestRun
66
66
- gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -json ./...
67
67
- name : Run unit tests
Original file line number Diff line number Diff line change 1
- //go:build go1.18
2
- // +build go1.18
3
-
4
1
package btf
5
2
6
3
import (
Original file line number Diff line number Diff line change 1
- //go:build go1.18
2
- // +build go1.18
3
-
4
1
package ebpf
5
2
6
3
import (
Original file line number Diff line number Diff line change 1
1
module github.com/cilium/ebpf
2
2
3
- go 1.17
3
+ go 1.18
4
4
5
5
require (
6
6
github.com/frankban/quicktest v1.14.0
You can’t perform that action at this time.
0 commit comments