|
|
@ -24,14 +24,15 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Add variables to environment file
|
|
|
|
|
|
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Go
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # pin@5.4.0
|
|
|
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # pin@5.4.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '1.23'
|
|
|
|
go-version: '${{ env.GOLANG_VERSION }}'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run unit tests
|
|
|
|
- name: Run unit tests
|
|
|
|
run: make test-coverage
|
|
|
|
run: make test-coverage
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
set -eu -o pipefail
|
|
|
|
set -eu -o pipefail
|
|
|
@ -80,10 +81,13 @@ jobs:
|
|
|
|
- name: Checkout source code
|
|
|
|
- name: Checkout source code
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Add variables to environment file
|
|
|
|
|
|
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Go
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # pin@5.4.0
|
|
|
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # pin@5.4.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '1.23'
|
|
|
|
go-version: '${{ env.GOLANG_VERSION }}'
|
|
|
|
check-latest: true
|
|
|
|
check-latest: true
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run unit tests
|
|
|
|
- name: Run unit tests
|
|
|
|