Skip to content

Commit

Permalink
upgrade to use go1.20
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored and poiana committed Mar 27, 2023
1 parent 5b6c55a commit e9cb299
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a #v3.2.1
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: Build Falcoctl
run: >
Expand Down Expand Up @@ -88,7 +90,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a #v3.2.1
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: Run tests
run: go test -cover ./...
6 changes: 4 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: golangci-lint
uses: golangci/[email protected]
Expand All @@ -41,7 +42,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: Execute go mod tidy and check the outcome
working-directory: ./
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a #v3.2.1
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef #v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BUILD_DATE?=$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
PROJECT?=github.com/falcosecurity/falcoctl

# todo(leogr): re-enable race when CLI tests can run with race enabled
TEST_FLAGS ?= -v -cover# -race
TEST_FLAGS ?= -v -cover# -race

.PHONY: falcoctl
falcoctl:
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/falcosecurity/falcoctl

go 1.19
go 1.20

require (
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
Expand Down

0 comments on commit e9cb299

Please sign in to comment.