Skip to content

Commit

Permalink
ci: update slsa-releaser; require go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
bmflynn committed Oct 4, 2024
1 parent b19d188 commit 81857ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -coverprofile=profile.cov
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -coverprofile=profile.cov
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
4 changes: 2 additions & 2 deletions .github/workflows/slsa-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
arch: arm64
- os: windows
arch: arm64
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.5.0
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.10.0
with:
go-version: 1.19
go-version: 1.20
config-file: .slsa-goreleaser/${{matrix.os}}-${{matrix.arch}}.yml
evaluated-envs: "COMMIT_DATE:${{needs.args.outputs.commit-date}}, COMMIT:${{needs.args.outputs.commit}}, VERSION:${{needs.args.outputs.version}}, TREE_STATE:${{needs.args.outputs.tree-state}}"

0 comments on commit 81857ac

Please sign in to comment.