Skip to content

Commit

Permalink
require Go 1.19
Browse files Browse the repository at this point in the history
Bump our minimum Go version and run CI against 1.20.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb committed Feb 28, 2023
1 parent 3d60464 commit 7234f40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ blocks:
prologue:
commands:
- sudo sh -c 'swapoff -a && fallocate -l 2G /swapfile && chmod 0600 /swapfile && mkswap /swapfile && swapon /swapfile'
- sem-version go 1.19.5
- sem-version go 1.20.1
- export PATH="$PATH:$(go env GOPATH)/bin"
- checkout
# Disabled, see https://github.com/cilium/ebpf/issues/898
Expand Down Expand Up @@ -63,7 +63,7 @@ blocks:
- cache store
- name: Run unit tests on previous stable Go
commands:
- sem-version go 1.18
- sem-version go 1.19.6
- go test -v ./cmd/bpf2go
- gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -json ./...
- name: Run unit tests
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cilium/ebpf

go 1.18
go 1.19

require (
github.com/frankban/quicktest v1.14.4
Expand Down

0 comments on commit 7234f40

Please sign in to comment.