diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3b614ad..b173d24 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/.github/workflows/slsa-releaser.yml b/.github/workflows/slsa-releaser.yml index 2f16750..ac58b01 100644 --- a/.github/workflows/slsa-releaser.yml +++ b/.github/workflows/slsa-releaser.yml @@ -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}}"