Skip to content

Commit

Permalink
Merge branch 'topic/christian/bump-action-versions'
Browse files Browse the repository at this point in the history
* 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
ckreibich committed Jun 21, 2024
2 parents 3d9b916 + 5dd5284 commit 4d1638b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
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
15 changes: 10 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand 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'

0 comments on commit 4d1638b

Please sign in to comment.