Skip to content

Commit

Permalink
Bump Go from 1.18 to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <[email protected]>
  • Loading branch information
marcofranssen committed Sep 11, 2023
1 parent e86ba86 commit f21a81f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export COSIGN_PASSWORD="$(cat /Volumes/Keybase/team/sssc/spiffe-vault/cosign-password.txt)"
export GITHUB_TOKEN="$(gh auth token)"
20 changes: 10 additions & 10 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
name: Continuous Integration

steps:
- name: Check out code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.18
go-version-file: go.mod
check-latest: true

- name: Check out code
uses: actions/checkout@v3

- name: Cache Go modules
uses: actions/[email protected]
id: go-mod-cache
Expand Down Expand Up @@ -74,22 +74,22 @@ jobs:
container_repos: ${{ steps.container_info.outputs.container_repos }}

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.18
go-version-file: go.mod
check-latest: true

- name: Install cosign
uses: sigstore/[email protected]
with:
cosign-release: 'v2.1.1'

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Login to container registries
if: startsWith(github.ref, 'refs/tags/')
run: |
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/philips-labs/spiffe-vault

go 1.18
go 1.21

require (
github.com/hashicorp/vault/api v1.9.2
Expand Down

0 comments on commit f21a81f

Please sign in to comment.