mirror of
https://github.com/ossf/scorecard.git
synced 2024-10-26 10:28:10 +03:00
🌱 Use Go version as specified by our go.mod file. (#2912)
Signed-off-by: Spencer Schrock <sschrock@google.com>
This commit is contained in:
parent
dd352a1d37
commit
f3b777086f
9
.github/workflows/publishimage.yml
vendored
9
.github/workflows/publishimage.yml
vendored
@ -20,12 +20,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
env:
|
||||
GO_VERSION: 1.17
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
name: publishimage
|
||||
publishimage:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@ -46,10 +43,10 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: go.mod # use version from go.mod so it stays in sync
|
||||
check-latest: true
|
||||
- name: install ko
|
||||
uses: imjasonh/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa
|
||||
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
|
||||
- name: publishimage
|
||||
uses: nick-invision/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user