ci: always use the latest golang patch version

This commit is contained in:
Jack Francis
2022-05-16 11:37:49 -07:00
committed by Christian Kotzbauer
parent 9415f301a2
commit 03e8c2116a
4 changed files with 10 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: Login to DockerHub
uses: docker/login-action@v2

View File

@@ -18,7 +18,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: run tests
run: go test -json ./... > test.json
- name: Annotate tests
@@ -48,7 +48,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: Lint cmd folder
uses: Jerome1337/golint-action@v1.0.2
with:
@@ -87,7 +87,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- run: make DH_ORG="${{ github.repository_owner }}" VERSION="${{ github.sha }}" image
- uses: Azure/container-scan@v0
with:
@@ -119,7 +119,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: Build artifacts
run: |
make DH_ORG="${{ github.repository_owner }}" VERSION="${{ github.sha }}" image
@@ -190,7 +190,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: Build artifacts
run: |
make DH_ORG="${{ github.repository_owner }}" VERSION="${{ github.sha }}" image
@@ -281,7 +281,7 @@ jobs:
# - name: Ensure go version
# uses: actions/setup-go@v3
# with:
# go-version: "${{ steps.awk_gomod.outputs.version }}"
# go-version: "${{ steps.awk_gomod.outputs.version }}".x
# - name: Build artifacts
# run: |
# make DH_ORG="${{ github.repository_owner }}" VERSION="${{ github.sha }}" image

View File

@@ -21,7 +21,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: Find current tag version
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
id: tags

View File

@@ -61,7 +61,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- run: make DH_ORG="${{ github.repository_owner }}" VERSION="${{ github.sha }}" image
- uses: Azure/container-scan@v0
with:
@@ -87,7 +87,7 @@ jobs:
- name: Ensure go version
uses: actions/setup-go@v3
with:
go-version: "${{ steps.awk_gomod.outputs.version }}"
go-version: "${{ steps.awk_gomod.outputs.version }}".x
- name: "Workaround 'Failed to attach 1 to compat systemd cgroup /actions_job/...' on gh actions"
run: |