From 965b8ae28cf4692f34c9192379e991980c709165 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Fri, 29 Sep 2023 11:40:30 +0200 Subject: [PATCH] Update actions and cleanup build Motivation: We should update all our actions to the latest version Modifications: - Update actions - Remove not needed settings.xml file Result: Cleanup --- .github/workflows/ci-pr-reports.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 4 ++-- .mvn/settings.xml | 9 --------- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 .mvn/settings.xml diff --git a/.github/workflows/ci-pr-reports.yml b/.github/workflows/ci-pr-reports.yml index 79ebbc3b..320c9edc 100644 --- a/.github/workflows/ci-pr-reports.yml +++ b/.github/workflows/ci-pr-reports.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifacts - uses: dawidd6/action-download-artifact@v2.13.0 + uses: dawidd6/action-download-artifact@v2.28.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: ${{ github.event.workflow_run.workflow_id }} @@ -34,7 +34,7 @@ jobs: name: test-results-build-pr-ubuntu - name: Publish Test Report - uses: scacap/action-surefire-report@v1.0.7 + uses: scacap/action-surefire-report@v1.7.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} report_paths: '**/target/surefire-reports/TEST-*.xml' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 17737f96..c880bd37 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -58,7 +58,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -73,4 +73,4 @@ jobs: run: ./mvnw -B -ntp clean package -DskipTests=true - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.mvn/settings.xml b/.mvn/settings.xml deleted file mode 100644 index 1f7f6faf..00000000 --- a/.mvn/settings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - sonatype-nexus-snapshots - ${env.SANOTYPE_USER} - ${env.SANOTYPE_PASSWORD} - - -