Skip to content

Commit

Permalink
Upgrade to golang 1.19, k8s 1.24.6 (ratify-project#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzar authored Oct 4, 2022
1 parent 529dffc commit 4e70405
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- main
paths-ignore:
- '*.md'

jobs:
build:
Expand All @@ -14,9 +16,9 @@ jobs:
- name: setup go environment
uses: actions/setup-go@v3
with:
go-version: "1.18"
go-version: "1.19"
- name: Run tidy
run: go mod tidy -compat=1.18
run: go mod tidy
- name: Build CLI
run: make
- name: Check build
Expand All @@ -30,15 +32,15 @@ jobs:
contents: read
strategy:
matrix:
KUBERNETES_VERSION: ["1.23.6"]
KUBERNETES_VERSION: ["1.24.6"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Bootstrap e2e
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # tag=3.3.0
with:
go-version: 1.18
go-version: 1.19

- name: Goreleaser
uses: goreleaser/goreleaser-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Check the documentation at https://goreleaser.com for more options
before:
hooks:
- go mod tidy -compat=1.18
- go mod tidy
builds:
- id: ratify
dir: cmd/ratify
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/deislabs/ratify

go 1.18
go 1.19

require (
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible
Expand Down

0 comments on commit 4e70405

Please sign in to comment.