diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c50cbdf485..eb7a81ab44 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -9,9 +9,11 @@ on: jobs: style_check: name: Style-Check - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install clang-format run: .ci/install-clang-format.sh - name: Run format check @@ -28,16 +30,20 @@ jobs: path: pr/ plugin_check: name: Plugin-Check - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Run plugin check run: .ci/check_plugins.sh shader_check: name: Shader-Check - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Download glslang run: | mkdir bin diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 651cdff7ab..c85fab413e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,26 +20,28 @@ jobs: - dockerfile_dir: oraclelinux image_name: megamol_ci_oraclelinux name: Docker-Build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: read packages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + show-progress: false - name: Docker login - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.config.image_name }} - name: Docker build/push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: .ci/docker/${{ matrix.config.dockerfile_dir }} push: true diff --git a/.github/workflows/style_check_comment.yml b/.github/workflows/style_check_comment.yml index 15d84f2897..6beca8069a 100644 --- a/.github/workflows/style_check_comment.yml +++ b/.github/workflows/style_check_comment.yml @@ -11,11 +11,11 @@ jobs: style_check_comment: name: Style-Check-Comment if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ - name: Download artifact - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -39,7 +39,7 @@ jobs: }); - run: unzip pr.zip - name: Comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | var fs = require('fs'); diff --git a/.github/workflows/style_fix.yml b/.github/workflows/style_fix.yml index 303a50c53c..bb0b3d6892 100644 --- a/.github/workflows/style_fix.yml +++ b/.github/workflows/style_fix.yml @@ -8,11 +8,11 @@ jobs: style_fix: name: Style-Fix if: ${{ github.event.issue.pull_request && github.event.comment.body == '/format' }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Get PR Info id: pr-info - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const pr = await github.rest.pulls.get({ @@ -23,18 +23,20 @@ jobs: core.setOutput('REPO', pr.data.head.repo.full_name); core.setOutput('REF', pr.data.head.ref); # Checkout master - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master path: master token: ${{ secrets.PAT_MEGAMOLSERVICE }} + show-progress: false # Checkout PR repo/branch - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ steps.pr-info.outputs.REPO }} ref: ${{ steps.pr-info.outputs.REF }} path: pr token: ${{ secrets.PAT_MEGAMOLSERVICE }} + show-progress: false - name: Install clang-format run: master/.ci/install-clang-format.sh - name: Fix style @@ -55,7 +57,7 @@ jobs: fi - name: Comment if: ${{ failure() }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | await github.rest.issues.createComment({