From 13dfab07de7b6c03567ed2e51208b0e3fb769717 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:56:33 +0000 Subject: [PATCH 1/3] Bump uhafner/autograding-github-action from 2.1.0 to 3.0.0 Bumps [uhafner/autograding-github-action](https://github.com/uhafner/autograding-github-action) from 2.1.0 to 3.0.0. - [Release notes](https://github.com/uhafner/autograding-github-action/releases) - [Commits](https://github.com/uhafner/autograding-github-action/compare/v2.1.0...v3.0.0) --- updated-dependencies: - dependency-name: uhafner/autograding-github-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/reporting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reporting.yml b/.github/workflows/reporting.yml index 40a90b7f..92a34d21 100644 --- a/.github/workflows/reporting.yml +++ b/.github/workflows/reporting.yml @@ -31,7 +31,7 @@ jobs: with: token: ${{secrets.CODECOV_TOKEN}} - name: Autograding - uses: uhafner/autograding-github-action@v2.1.0 + uses: uhafner/autograding-github-action@v3.0.0 with: TOKEN: ${{ secrets.GITHUB_TOKEN }} CONFIG: > From f7cc3f55d91a514a362a6082d7cf630b8a04132d Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Fri, 1 Dec 2023 14:59:49 +0100 Subject: [PATCH 2/3] Use new parameter names. --- .github/workflows/reporting.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reporting.yml b/.github/workflows/reporting.yml index 92a34d21..ff36f5be 100644 --- a/.github/workflows/reporting.yml +++ b/.github/workflows/reporting.yml @@ -33,8 +33,8 @@ jobs: - name: Autograding uses: uhafner/autograding-github-action@v3.0.0 with: - TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG: > + github-token: ${{ secrets.GITHUB_TOKEN }} + config: > { "tests": { "tools": [ From 519c52012b3671d9c9edf3d352dc4b1f1cbe2a69 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Fri, 1 Dec 2023 15:04:32 +0100 Subject: [PATCH 3/3] Remove duplicate upload. --- .github/workflows/coverage.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 16aca89c..00000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: 'Generate coverage report' - -on: - push: - branches: - - master - - main - pull_request: - -jobs: - coverage: - - runs-on: ubuntu-latest - name: Coverage on Ubuntu - - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '11' - check-latest: true - - name: Generate coverage with JaCoCo - run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip' - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - files: 'target/site/jacoco/jacoco.xml' - token: ${{secrets.CODECOV_TOKEN}}