diff --git a/.github/workflows/build-sdk.yml b/.github/workflows/build-sdk.yml index c48a491..33b3958 100644 --- a/.github/workflows/build-sdk.yml +++ b/.github/workflows/build-sdk.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} @@ -98,12 +98,12 @@ jobs: working-directory: src/python-evp-app-sdk run: python setup.py --command-packages=stdeb.command bdist_deb - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: python-sdk-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: lib/python/* - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: python-sdk-deb-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: src/python-evp-app-sdk/deb_dist/*.deb diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 949e4a1..18aa8db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: platform: amd64 steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} @@ -62,19 +62,19 @@ jobs: run: make dist - name: Upload agent debian package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: agent-deb-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: evp-agent*.deb - name: Upload sdk debian package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: libevp-app-sdk-dev-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: libevp-app-sdk-dev*.deb - name: Upload SBOM - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sbom-agent-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: | @@ -94,7 +94,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 1a0f657..e3d535f 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -43,12 +43,12 @@ jobs: build: ${{ steps.changed-files.outputs.all_changed_and_modified_files != '' || github.event_name == 'workflow_dispatch' }} builder-tag: ${{ steps.builder-tag.outputs.tag }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ inputs.ref }} - - uses: tj-actions/changed-files@v41 + - uses: tj-actions/changed-files@v47 id: changed-files with: files: | @@ -80,20 +80,20 @@ jobs: steps: - name: Checkout the code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to Github Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ github.actor }} password: ${{ github.token }} registry: ghcr.io - name: Build and push raspios bookworm builder - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: .devcontainer/raspi file: .devcontainer/raspi/Dockerfile @@ -117,20 +117,20 @@ jobs: steps: - name: Checkout the code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to Github Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ github.actor }} password: ${{ github.token }} registry: ghcr.io - name: Build and push ubuntu builder - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: .devcontainer/ubuntu file: .devcontainer/ubuntu/Dockerfile @@ -148,7 +148,7 @@ jobs: steps: - name: Login to Github Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ github.actor }} password: ${{ github.token }} diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index cb23b93..7ab5140 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,7 +29,7 @@ jobs: timeout-minutes: 3 # the worst case is < 1 minute steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 96b26ee..73fec13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: test -z $last_run_id && echo "cannot find last successful run_id" && exit 1 || echo "last_run_id=$last_run_id" && echo "last_run_id=$last_run_id" >> $GITHUB_OUTPUT - name: Download Python SDK (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -46,7 +46,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Python SDK deb (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -56,7 +56,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Agent deb (RaspiOS bookworm ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -66,7 +66,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Python SDK (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -76,7 +76,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Python SDK deb (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -86,7 +86,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Agent deb (Ubuntu noble ARM64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -96,7 +96,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Python SDK (Ubuntu noble AMD64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -106,7 +106,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Python SDK deb (Ubuntu noble AMD64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -116,7 +116,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download Agent deb (Ubuntu noble AMD64) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -126,7 +126,7 @@ jobs: github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }} - name: Download SBOM - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 env: LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }} with: @@ -166,7 +166,7 @@ jobs: run: ls -la dist-raspios-bookworm-arm64 - name: Push artifacts to release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: prerelease: false files: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e670e01..df4a586 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.ref }} @@ -112,14 +112,14 @@ jobs: # Upload test logs upon failure. - name: Upload logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: test-log-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}-${{ github.run_attempt }} path: test/logs/**/*.log retention-days: ${{ job.status == 'success' && '7' || '14' }} - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: test-modules-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }} path: | @@ -129,7 +129,7 @@ jobs: test_modules/python/*.zip - name: Upload coverage results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: # Use a specific folder to not overwrite log files name: coverage-report-${{ matrix.name }}-${{ matrix.platform }}-${{github.run_id}} @@ -139,7 +139,7 @@ jobs: - name: Report code coverage if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }} id: report-action-lcov - uses: zgosalvez/github-actions-report-lcov@v4.1.2 + uses: zgosalvez/github-actions-report-lcov@v7 with: title-prefix: ${{ matrix.name }}-${{ matrix.platform }} coverage-files: coverage/filtered.lcov @@ -149,7 +149,7 @@ jobs: - name: Report summary coverage to status if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }} - uses: guibranco/github-status-action-v2@v1.1.13 + uses: guibranco/github-status-action-v2@v1 with: authToken: ${{ github.token }} context: "Coverage line level: "