|
|
@ -24,10 +24,13 @@ 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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.0
|
|
|
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.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
|
|
|
@ -80,10 +83,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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.0
|
|
|
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.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
|
|
|
|