-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bugfix/5084
- Loading branch information
Showing
130 changed files
with
931 additions
and
925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 ## Needed for "Set tools/go.mod timestamp" step. | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -34,6 +36,14 @@ jobs: | |
with: | ||
path: .tools | ||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('./tools/**') }} | ||
# The step below is needed to not rebuild all the build tools. | ||
- name: Set tools/go.mod timestamp | ||
run: | | ||
filename="tools/go.mod" | ||
unixtime=$(git log -1 --format="%at" -- "${filename}") | ||
touchtime=$(date -d @$unixtime +'%Y%m%d%H%M.%S') | ||
touch -t ${touchtime} "${filename}" | ||
ls -la --time-style=full-iso "${filename}" | ||
- name: Generate | ||
run: make generate | ||
- name: Run linters | ||
|
@@ -76,7 +86,7 @@ jobs: | |
cp coverage.txt $TEST_RESULTS | ||
cp coverage.html $TEST_RESULTS | ||
- name: Upload coverage report | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].1 | ||
with: | ||
file: ./coverage.txt | ||
fail_ci_if_error: true | ||
|
@@ -149,7 +159,7 @@ jobs: | |
find . -name 'coverage.html' > "${TEST_RESULTS}/coverage.lst" | ||
tar -n -cf - -T "${TEST_RESULTS}/coverage.lst" | tar -C "${TEST_RESULTS}" -xvf - | ||
- name: Upload coverage report | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].1 | ||
if: hashFiles('coverage.out') != '' | ||
with: | ||
file: ./coverage.out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.