Skip to content

Commit

Permalink
upgrade to use go1.20 (#566)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored Mar 7, 2023
1 parent 4c4a392 commit d289e44
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/add-remove-new-fulcio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.25.x
- v1.25.x

leg:
- fulcio-key-rotation
- fulcio-key-rotation

go-version:
- 1.18
- 1.20.x

env:
GOPATH: ${{ github.workspace }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fulcio-rekor-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.23.x
- v1.24.x
- v1.25.x
- v1.23.x
- v1.24.x
- v1.25.x

leg:
- fulcio rekor ctlog e2e
- fulcio rekor ctlog e2e

go-version:
- 1.19
- 1.20.x

env:
GOPATH: ${{ github.workspace }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prober-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.3.0
with:
go-version: 1.18
go-version: '1.20'
check-latest: true

- name: Prober test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.3.0
with:
go-version: 1.19
go-version: '1.20'
check-latest: true

- name: Install ko
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.0
with:
# TODO: extract terraform from the tf file when we have pinned
terraform_version: 1.1.6
terraform_version: 1.3.9

- name: Terraform fmt
id: fmt
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.0
with:
# TODO: extract terraform from the tf file when we have pinned
terraform_version: 1.1.6
terraform_version: 1.3.9

- name: Terraform init
id: init
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-action-tuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.23.x
- v1.24.x
- v1.25.x
- v1.23.x
- v1.24.x
- v1.25.x
release-version:
- "latest-release" # Test explicitly with latest
- "latest-release" # Test explicitly with latest
go-version:
- 1.19
- 1.20.x
leg:
- test github action with TUF
- test github action with TUF
env:
KO_DOCKER_REPO: registry.local:5000/knative
COSIGN_EXPERIMENTAL: "true"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.23.x
- v1.24.x
- v1.25.x
- v1.23.x
- v1.24.x
- v1.25.x
leg:
- fulcio rekor ctlog e2e
- fulcio rekor ctlog e2e
go-version:
- 1.19
- 1.20.x

env:
RELEASE_VERSION: "v0.5.1"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.0.2
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.3.0
with:
go-version: 1.19
go-version: '1.20'
check-latest: true
cache: true
- name: Install addlicense
Expand All @@ -39,11 +39,11 @@ jobs:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: 1.19
go-version: '1.20'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.51.2
version: v1.51
args: --timeout=5m
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/sigstore/scaffolding

go 1.19
go 1.20

require (
chainguard.dev/exitdir v0.0.1
Expand Down

0 comments on commit d289e44

Please sign in to comment.