-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'topic/christian/bump-action-versions'
* topic/christian/bump-action-versions: Add a dependabot.yml for Github actions Bump Github action versions and give check write access in test job
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly |
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 |
---|---|---|
|
@@ -13,13 +13,18 @@ jobs: | |
if: github.event_name != 'schedule' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
|
||
btest-linux: | ||
permissions: | ||
# This is for action-junit-report, see | ||
# https://github.com/mikepenz/action-junit-report?tab=readme-ov-file#pr-run-permissions | ||
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs | ||
checks: write | ||
strategy: | ||
matrix: | ||
name: | ||
|
@@ -43,7 +48,7 @@ jobs: | |
container: ${{ matrix.container }} | ||
continue-on-error: ${{ matrix.allow_failure }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
# The output of some commands of `zkg` on the template depends on the | ||
# known tags. Fetch them all. | ||
|
@@ -66,7 +71,7 @@ jobs: | |
- name: Run BTest suite | ||
run: | | ||
btest -djc tests/btest.cfg --xml=btest-results.xml | ||
- uses: mikepenz/action-junit-report@v3 | ||
- uses: mikepenz/action-junit-report@v4 | ||
if: always() # Always run even if any previous step fails. | ||
with: | ||
report_paths: '**/btest-results.xml' |