Skip to content

Commit

Permalink
Use latest autograding.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 1, 2023
1 parent 66ca335 commit c833a46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
- name: Autograding
uses: uhafner/autograding-github-action@v2.1.0
uses: uhafner/autograding-github-action@v3
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG: >
github-token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"tests": {
"tools": [
Expand Down Expand Up @@ -129,14 +129,14 @@ jobs:
status: ${{ steps.metrics.outputs.warnings }}
color: 'orange'
path: badges/warnings.svg
- name: Commit badge
- name: Commit updated badges
continue-on-error: true
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add badges/*.svg
git commit -m "Update badges with results from latest autograding"
- name: Push badge commit
- name: Push updated badges to GitHub repository
uses: ad-m/github-push-action@master
if: ${{ success() }}
with:
Expand Down

0 comments on commit c833a46

Please sign in to comment.