mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-05-09 01:56:52 +00:00
refactor: Use Go 1.20 (#643)
Fixes #589 --------- Signed-off-by: Ian Lewis <ianlewis@google.com>
This commit is contained in:
2
.github/workflows/pre-submit.cli.yml
vendored
2
.github/workflows/pre-submit.cli.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version-file: "go.mod"
|
||||
|
||||
- name: Save event name
|
||||
env:
|
||||
|
||||
2
.github/workflows/pre-submit.e2e.yml
vendored
2
.github/workflows/pre-submit.e2e.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version-file: "__THIS_REPO__/go.mod"
|
||||
|
||||
- name: Build verifier at HEAD
|
||||
working-directory: __THIS_REPO__
|
||||
|
||||
6
.github/workflows/pre-submit.lint.yml
vendored
6
.github/workflows/pre-submit.lint.yml
vendored
@@ -13,10 +13,10 @@ jobs:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version-file: "go.mod"
|
||||
- env:
|
||||
GOLANGCI_LINT_VERSION: "1.52.2"
|
||||
GOLANGCI_LINT_CHECKSUM: "c9cf72d12058a131746edd409ed94ccd578fbd178899d1ed41ceae3ce5f54501"
|
||||
GOLANGCI_LINT_VERSION: "1.53.2"
|
||||
GOLANGCI_LINT_CHECKSUM: "2298f73b9bc03b88b91fee06c5d519fc7f9d7f328e2c388615bbd7e85a9d6cae"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
contents: write # For asset uploads.
|
||||
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.7.0
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version-file: "go.mod"
|
||||
config-file: .slsa-goreleaser/${{matrix.os}}-${{matrix.arch}}.yml
|
||||
compile-builder: true
|
||||
evaluated-envs: "VERSION:${{needs.args.outputs.version}}"
|
||||
|
||||
Reference in New Issue
Block a user