mirror of
https://github.com/kubereboot/kured.git
synced 2026-03-04 09:50:19 +00:00
ci: always use the latest golang patch version
This commit is contained in:
committed by
Christian Kotzbauer
parent
9415f301a2
commit
03e8c2116a
2
.github/workflows/on-main-push.yaml
vendored
2
.github/workflows/on-main-push.yaml
vendored
@@ -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
|
||||
|
||||
12
.github/workflows/on-pr.yaml
vendored
12
.github/workflows/on-pr.yaml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/on-tag.yaml
vendored
2
.github/workflows/on-tag.yaml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/periodics-daily.yaml
vendored
4
.github/workflows/periodics-daily.yaml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user