Skip to content

Commit

Permalink
feat: update go version
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jun 8, 2023
1 parent 0c48373 commit eec3a25
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.17

- name: Check out code into the Go module directory
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build kurun binary
run: go build -v .

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.17

- name: Check out code into the Go module directory
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Run kurun tests
run: go test ./...

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ jobs:
push: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache


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/banzaicloud/kurun

go 1.17
go 1.20

require (
emperror.dev/errors v0.8.0
Expand Down

0 comments on commit eec3a25

Please sign in to comment.