-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2037 from elBoberido/iox-1755-reintroduce-lazy-ev…
…aluation-for-the-logging iox-#1755 Reintroduce lazy evaluation for the logging
- Loading branch information
Showing
11 changed files
with
267 additions
and
222 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,10 +21,7 @@ jobs: | |
id: changed_files | ||
uses: Ana06/[email protected] | ||
- name: diff scan, clang-tidy for all files which are in `.clang-tidy-diff-scans.txt` | ||
run: | | ||
for diff_file in ${{ steps.changed_files.outputs.added_modified }}; do | ||
./tools/scripts/clang_tidy_check.sh scan_list .clang-tidy-diff-scans.txt ${diff_file} | ||
done | ||
run: ./tools/scripts/clang_tidy_check.sh scan_list .clang-tidy-diff-scans.txt "${{ steps.changed_files.outputs.added_modified }}" | ||
|
||
check-for-todo: | ||
runs-on: ubuntu-latest | ||
|
@@ -43,14 +40,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Calculate lychee cache key | ||
run: echo "LYCHEE_CACHE_KEY=cache-lychee-all-branches-$(date +'%G-%V')" >> "$GITHUB_ENV" # %G = year; %V = week number | ||
|
||
- name: Restore lychee cache | ||
uses: actions/cache@v3 | ||
if: always() | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-all-branches | ||
# the cache will not be updated and therefore needs to be recreated after 7 days | ||
retention-days: 7 | ||
key: ${{ env.LYCHEE_CACHE_KEY }} | ||
|
||
- name: Link Checker | ||
uses: lycheeverse/[email protected] | ||
|
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.