Skip to content

Commit

Permalink
Keep GitHub Actions up to date with GitHub's Dependabot (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 9, 2024
1 parent dcf4b9d commit f478c00
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:

# Keep dependencies for GitHub Actions up-to-date
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
20 changes: 20 additions & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['free-pascal / Test'] # runs after free-pascal / Test workflow
types:
- completed
permissions:
contents: read
actions: read
checks: write
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
with:
artifact: test-results # artifact name
name: test-results # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
run: bin/test

- name: Report
uses: dorny/test-reporter@afe6793191b75b608954023a46831a3fe10048d4
uses: dorny/test-reporter@eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8
if: always()
with:
name: Junit Test Results
path: build/**/junit-report-*.xml
name: test-results
path: junit-report.xml
reporter: java-junit
fail-on-error: true
fail-on-error: true

0 comments on commit f478c00

Please sign in to comment.