From f9ff265e44e0b8e6884f0ed26581af4c4533507c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20R=C3=B6der?= <33963579+yannick-roeder@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:53:04 +0100 Subject: [PATCH] Update deprecated NodeJS actions (#215) --- .github/workflows/_format.yaml | 2 +- .github/workflows/_lint.yaml | 2 +- .github/workflows/_release.yaml | 2 +- .github/workflows/_test-python-setup-poetry.yaml | 4 ++-- .github/workflows/bump-version-release.yaml | 4 ++-- .github/workflows/docker-build-and-publish.yaml | 2 +- .github/workflows/helm-gke-deploy.yaml | 2 +- .github/workflows/helm-gke-destroy.yaml | 2 +- .github/workflows/helm-multi-release.yaml | 14 +++++++------- .github/workflows/helm-release.yaml | 4 ++-- .github/workflows/java-gradle-base.yaml | 6 +++--- .github/workflows/java-gradle-docker.yaml | 10 +++++----- .github/workflows/java-gradle-library.yaml | 6 +++--- .github/workflows/java-gradle-plugin.yaml | 8 ++++---- .github/workflows/java-gradle-release.yaml | 2 +- .github/workflows/kustomize-gke-deploy.yaml | 2 +- .github/workflows/kustomize-gke-destroy.yaml | 2 +- .github/workflows/python-poetry-publish-pypi.yaml | 2 +- .../workflows/python-poetry-publish-snapshot.yaml | 2 +- .github/workflows/python-poetry-release.yaml | 4 ++-- .github/workflows/release-tag-versions.yaml | 2 +- actions/action-lint/action.yaml | 2 +- actions/changelog-generate/action.yaml | 4 ++-- actions/checkout/action.yaml | 2 +- actions/docker-publish/action.yaml | 2 +- actions/gcp-gsm-load-secrets/README.md | 2 +- actions/gcp-gsm-parse-secrets/README.md | 2 +- actions/helm-lint/action.yaml | 2 +- .../java-gradle-assess-code-quality/action.yaml | 4 ++-- actions/java-gradle-build-jib/action.yaml | 4 ++-- actions/java-gradle-build/action.yaml | 6 +++--- actions/java-gradle-publish-plugin/action.yml | 4 ++-- actions/java-gradle-publish/action.yaml | 4 ++-- actions/java-gradle-release-github/action.yaml | 6 +++--- actions/java-gradle-release/action.yaml | 6 +++--- actions/java-gradle-test/action.yaml | 6 +++--- actions/java-maven-build/action.yaml | 4 ++-- actions/java-maven-release/action.yaml | 4 ++-- actions/java-maven-setup/action.yaml | 2 +- actions/java-maven-test/action.yaml | 4 ++-- docs/actions/bump-version/README.md | 2 +- docs/actions/changelog-generate/README.md | 4 ++-- docs/actions/commit-and-push/README.md | 2 +- docs/actions/java-gradle-release/README.md | 2 +- docs/actions/python-poetry-publish-pypi/README.md | 2 +- docs/actions/python-poetry-publish/README.md | 2 +- docs/actions/tag-and-release/README.md | 2 +- 47 files changed, 85 insertions(+), 85 deletions(-) diff --git a/.github/workflows/_format.yaml b/.github/workflows/_format.yaml index 7504fd9de..8301e0b91 100644 --- a/.github/workflows/_format.yaml +++ b/.github/workflows/_format.yaml @@ -8,7 +8,7 @@ jobs: name: dprint runs-on: ubuntu-latest steps: - - uses: bakdata/ci-templates/actions/checkout@1.32.0 + - uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Check formatting uses: dprint/check@v2.1 diff --git a/.github/workflows/_lint.yaml b/.github/workflows/_lint.yaml index a51786bb6..6ee4aa878 100644 --- a/.github/workflows/_lint.yaml +++ b/.github/workflows/_lint.yaml @@ -9,4 +9,4 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Lint actions and workflows - uses: bakdata/ci-templates/actions/action-lint@v1.14.0 + uses: bakdata/ci-templates/actions/action-lint@1.49.0 diff --git a/.github/workflows/_release.yaml b/.github/workflows/_release.yaml index 5baac1078..8831da846 100644 --- a/.github/workflows/_release.yaml +++ b/.github/workflows/_release.yaml @@ -16,7 +16,7 @@ on: jobs: release: name: Release - uses: bakdata/ci-templates/.github/workflows/bump-version-release.yaml@1.35.1 + uses: bakdata/ci-templates/.github/workflows/bump-version-release.yaml@1.49.0 with: release-type: "${{ github.event.inputs.release-type }}" secrets: diff --git a/.github/workflows/_test-python-setup-poetry.yaml b/.github/workflows/_test-python-setup-poetry.yaml index 08c60e978..7b183af06 100644 --- a/.github/workflows/_test-python-setup-poetry.yaml +++ b/.github/workflows/_test-python-setup-poetry.yaml @@ -6,7 +6,7 @@ on: - main paths: - actions/python-setup-poetry/action.yaml - - .github/workflows/test-python-setup-poetry.yaml + - .github/workflows/_test-python-setup-poetry.yaml env: POETRY_VERSION: "1.2.2" @@ -24,7 +24,7 @@ jobs: os: [Ubuntu, macOS, Windows] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: bakdata/ci-templates/actions/checkout@1.32.0 + - uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Poetry uses: ./actions/python-setup-poetry diff --git a/.github/workflows/bump-version-release.yaml b/.github/workflows/bump-version-release.yaml index db5f6a8ab..7fc093539 100644 --- a/.github/workflows/bump-version-release.yaml +++ b/.github/workflows/bump-version-release.yaml @@ -49,7 +49,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: ${{ github.event.repository.default_branch }} persist-credentials: true # required for pushing to protected branch later @@ -76,7 +76,7 @@ jobs: - name: Create changelog id: build-changelog - uses: bakdata/ci-templates/actions/changelog-generate@1.48.0 + uses: bakdata/ci-templates/actions/changelog-generate@1.49.0 if: ${{ inputs.changelog }} with: github-token: ${{ secrets.github-token }} diff --git a/.github/workflows/docker-build-and-publish.yaml b/.github/workflows/docker-build-and-publish.yaml index 3c6ea8710..e1e9c076a 100644 --- a/.github/workflows/docker-build-and-publish.yaml +++ b/.github/workflows/docker-build-and-publish.yaml @@ -73,7 +73,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.44.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: ${{ inputs.ref }} lfs: ${{ inputs.checkout-lfs-files }} diff --git a/.github/workflows/helm-gke-deploy.yaml b/.github/workflows/helm-gke-deploy.yaml index 6a97886e2..9136a049f 100644 --- a/.github/workflows/helm-gke-deploy.yaml +++ b/.github/workflows/helm-gke-deploy.yaml @@ -81,7 +81,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Setup credentials uses: bakdata/ci-templates/actions/setup-credentials@1.40.0 diff --git a/.github/workflows/helm-gke-destroy.yaml b/.github/workflows/helm-gke-destroy.yaml index dfd9df1f8..a6d2db513 100644 --- a/.github/workflows/helm-gke-destroy.yaml +++ b/.github/workflows/helm-gke-destroy.yaml @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Setup credentials uses: bakdata/ci-templates/actions/setup-credentials@1.40.0 diff --git a/.github/workflows/helm-multi-release.yaml b/.github/workflows/helm-multi-release.yaml index c581a7626..d3bb01629 100644 --- a/.github/workflows/helm-multi-release.yaml +++ b/.github/workflows/helm-multi-release.yaml @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Lint Helm chart - uses: bakdata/ci-templates/actions/helm-lint@1.46.3 + uses: bakdata/ci-templates/actions/helm-lint@1.49.0 with: lint-config-path: "${{ inputs.lint-config-path }}" @@ -70,7 +70,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Verify if have a single or multiple chart(s) id: step2 @@ -96,7 +96,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Bump Chart version run: | @@ -116,7 +116,7 @@ jobs: - name: Upload artifacts with action/upload as multi chart if: ${{ needs.update-version.outputs.singlechart == 'false' }} - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.subdir }} path: ${{ inputs.artifact-dir }}/${{ matrix.subdir }} @@ -124,7 +124,7 @@ jobs: - name: Upload artifacts with action/upload as single chart if: ${{ needs.update-version.outputs.singlechart == 'true' }} - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v4 with: path: ${{ inputs.artifact-dir }} retention-days: 1 @@ -135,12 +135,12 @@ jobs: steps: - name: Check out branch containing the artifatcs and the index.yaml file - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: ${{ inputs.gh-pages-branch }} - name: Download new artifacts - uses: actions/download-artifact@v3.0.1 + uses: actions/download-artifact@v4 with: path: ${{ inputs.artifact-dir }} diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml index d291b36a7..13a4922e2 100644 --- a/.github/workflows/helm-release.yaml +++ b/.github/workflows/helm-release.yaml @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Lint Helm chart - uses: bakdata/ci-templates/actions/helm-lint@1.46.3 + uses: bakdata/ci-templates/actions/helm-lint@1.49.0 with: lint-config-path: "${{ inputs.lint-config-path }}" @@ -86,7 +86,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: ${{ inputs.ref }} persist-credentials: false # required for pushing to protected branch later diff --git a/.github/workflows/java-gradle-base.yaml b/.github/workflows/java-gradle-base.yaml index 66590d4c8..0a9041b6c 100644 --- a/.github/workflows/java-gradle-base.yaml +++ b/.github/workflows/java-gradle-base.yaml @@ -72,7 +72,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Build - uses: bakdata/ci-templates/actions/java-gradle-build@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-build@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -88,7 +88,7 @@ jobs: needs: build steps: - name: Run unit tests - uses: bakdata/ci-templates/actions/java-gradle-test@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-test@1.49.0 with: gradle-cache: ${{ inputs.gradle-cache }} gradle-cache-read-only: ${{ inputs.gradle-cache-read-only }} @@ -104,7 +104,7 @@ jobs: needs: test steps: - name: Assess code quality - uses: bakdata/ci-templates/actions/java-gradle-assess-code-quality@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-assess-code-quality@1.49.0 with: download-lfs-files: ${{ inputs.download-lfs-files }} gradle-cache: ${{ inputs.gradle-cache }} diff --git a/.github/workflows/java-gradle-docker.yaml b/.github/workflows/java-gradle-docker.yaml index 149bd28eb..d64de88a6 100644 --- a/.github/workflows/java-gradle-docker.yaml +++ b/.github/workflows/java-gradle-docker.yaml @@ -88,7 +88,7 @@ concurrency: jobs: build-and-test: name: Build, Test and Assess code quality - uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.43.0 + uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -111,7 +111,7 @@ jobs: steps: - name: Build tarball image - uses: bakdata/ci-templates/actions/java-gradle-build-jib@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-build-jib@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -128,7 +128,7 @@ jobs: steps: - name: Publish - uses: bakdata/ci-templates/actions/java-gradle-publish@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-publish@1.49.0 with: signing-secret-key-ring: ${{ secrets.signing-secret-key-ring }} signing-key-id: ${{ secrets.signing-key-id }} @@ -156,7 +156,7 @@ jobs: username: ${{ secrets.docker-username }} password: ${{ secrets.docker-password }} - name: Publish tarball image - uses: bakdata/ci-templates/actions/docker-publish@1.46.3 + uses: bakdata/ci-templates/actions/docker-publish@1.49.0 with: docker-registry: ${{ inputs.docker-registry }} image-namespace: ${{ inputs.docker-publisher }} @@ -169,7 +169,7 @@ jobs: steps: - name: Release on Github - uses: bakdata/ci-templates/actions/java-gradle-release-github@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-release-github@1.49.0 with: github-token: ${{ secrets.github-token }} java-distribution: ${{ inputs.java-distribution }} diff --git a/.github/workflows/java-gradle-library.yaml b/.github/workflows/java-gradle-library.yaml index 572fabc68..286699e2f 100644 --- a/.github/workflows/java-gradle-library.yaml +++ b/.github/workflows/java-gradle-library.yaml @@ -73,7 +73,7 @@ concurrency: jobs: build-and-test: name: Build, Test and Assess code quality - uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.43.0 + uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -97,7 +97,7 @@ jobs: steps: - name: Publish - uses: bakdata/ci-templates/actions/java-gradle-publish@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-publish@1.49.0 with: signing-secret-key-ring: ${{ secrets.signing-secret-key-ring }} signing-key-id: ${{ secrets.signing-key-id }} @@ -120,7 +120,7 @@ jobs: steps: - name: Release on Github - uses: bakdata/ci-templates/actions/java-gradle-release-github@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-release-github@1.49.0 with: github-token: ${{ secrets.github-token }} java-distribution: ${{ inputs.java-distribution }} diff --git a/.github/workflows/java-gradle-plugin.yaml b/.github/workflows/java-gradle-plugin.yaml index acab35c47..e366db68f 100644 --- a/.github/workflows/java-gradle-plugin.yaml +++ b/.github/workflows/java-gradle-plugin.yaml @@ -79,7 +79,7 @@ concurrency: jobs: build-and-test: name: Build, Test and Assess code quality - uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.43.0 + uses: bakdata/ci-templates/.github/workflows/java-gradle-base.yaml@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -102,7 +102,7 @@ jobs: steps: - name: Publish - uses: bakdata/ci-templates/actions/java-gradle-publish@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-publish@1.49.0 with: signing-secret-key-ring: ${{ secrets.signing-secret-key-ring }} signing-key-id: ${{ secrets.signing-key-id }} @@ -125,7 +125,7 @@ jobs: steps: - name: Publish plugin - uses: bakdata/ci-templates/actions/java-gradle-publish-plugin@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-publish-plugin@1.49.0 with: signing-secret-key-ring: ${{ secrets.signing-secret-key-ring }} signing-key-id: ${{ secrets.signing-key-id }} @@ -148,7 +148,7 @@ jobs: steps: - name: Release on Github - uses: bakdata/ci-templates/actions/java-gradle-release-github@1.43.0 + uses: bakdata/ci-templates/actions/java-gradle-release-github@1.49.0 with: github-token: ${{ secrets.github-token }} java-distribution: ${{ inputs.java-distribution }} diff --git a/.github/workflows/java-gradle-release.yaml b/.github/workflows/java-gradle-release.yaml index dd3de4e2b..883a9a333 100644 --- a/.github/workflows/java-gradle-release.yaml +++ b/.github/workflows/java-gradle-release.yaml @@ -68,7 +68,7 @@ jobs: steps: - name: Release on Github id: release - uses: bakdata/ci-templates/actions/java-gradle-release@1.48.0 + uses: bakdata/ci-templates/actions/java-gradle-release@1.49.0 with: release-type: ${{ inputs.release-type }} github-email: ${{ secrets.github-email }} diff --git a/.github/workflows/kustomize-gke-deploy.yaml b/.github/workflows/kustomize-gke-deploy.yaml index a4fe4a1f6..f1ce90645 100644 --- a/.github/workflows/kustomize-gke-deploy.yaml +++ b/.github/workflows/kustomize-gke-deploy.yaml @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Setup credentials uses: bakdata/ci-templates/actions/setup-credentials@1.40.0 diff --git a/.github/workflows/kustomize-gke-destroy.yaml b/.github/workflows/kustomize-gke-destroy.yaml index dd570ab4a..ee8a51fe6 100644 --- a/.github/workflows/kustomize-gke-destroy.yaml +++ b/.github/workflows/kustomize-gke-destroy.yaml @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Setup credentials uses: bakdata/ci-templates/actions/setup-credentials@1.40.0 diff --git a/.github/workflows/python-poetry-publish-pypi.yaml b/.github/workflows/python-poetry-publish-pypi.yaml index e2c1dcb8f..17cc04861 100644 --- a/.github/workflows/python-poetry-publish-pypi.yaml +++ b/.github/workflows/python-poetry-publish-pypi.yaml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Poetry ${{ inputs.poetry-version }} uses: bakdata/ci-templates/actions/python-setup-poetry@v1.5.3 diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index 961c984c9..bd5d3c6d6 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -48,7 +48,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Bump version with Poetry id: bump-version diff --git a/.github/workflows/python-poetry-release.yaml b/.github/workflows/python-poetry-release.yaml index 0cd11404b..ef171a200 100644 --- a/.github/workflows/python-poetry-release.yaml +++ b/.github/workflows/python-poetry-release.yaml @@ -74,7 +74,7 @@ jobs: steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: ${{ inputs.ref }} persist-credentials: false # required for pushing to protected branch later @@ -91,7 +91,7 @@ jobs: - name: Create changelog id: build-changelog - uses: bakdata/ci-templates/actions/changelog-generate@1.48.0 + uses: bakdata/ci-templates/actions/changelog-generate@1.49.0 if: ${{ inputs.changelog }} with: github-token: ${{ secrets.github-token }} diff --git a/.github/workflows/release-tag-versions.yaml b/.github/workflows/release-tag-versions.yaml index 180abcc80..5ff97fb83 100644 --- a/.github/workflows/release-tag-versions.yaml +++ b/.github/workflows/release-tag-versions.yaml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out default branch - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: persist-credentials: false diff --git a/actions/action-lint/action.yaml b/actions/action-lint/action.yaml index 365aaef2a..86e168e67 100644 --- a/actions/action-lint/action.yaml +++ b/actions/action-lint/action.yaml @@ -17,7 +17,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: "${{ inputs.ref }}" diff --git a/actions/changelog-generate/action.yaml b/actions/changelog-generate/action.yaml index 6cef6ae4b..923c969f7 100644 --- a/actions/changelog-generate/action.yaml +++ b/actions/changelog-generate/action.yaml @@ -16,7 +16,7 @@ inputs: outputs: merged-changelog: - description: "All changelogs combinded." + description: "All changelogs combined." value: ${{ steps.git-cliff.outputs.content }} single-changelog: description: "Only the latest changelog." @@ -26,7 +26,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.46.4 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: fetch-depth: 0 - name: Get config path diff --git a/actions/checkout/action.yaml b/actions/checkout/action.yaml index 95b811c08..8b6dc1276 100644 --- a/actions/checkout/action.yaml +++ b/actions/checkout/action.yaml @@ -55,7 +55,7 @@ runs: - name: LFS Cache if: ${{ inputs.lfs == 'true' && inputs.cache == 'true' }} id: cache-lfs - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .git/lfs/objects key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }} diff --git a/actions/docker-publish/action.yaml b/actions/docker-publish/action.yaml index 1268a5af1..f009b06a6 100644 --- a/actions/docker-publish/action.yaml +++ b/actions/docker-publish/action.yaml @@ -30,7 +30,7 @@ runs: using: "composite" steps: - name: Download Docker image tar artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.image-artifact-name }} path: ${{ runner.temp }}/docker-build diff --git a/actions/gcp-gsm-load-secrets/README.md b/actions/gcp-gsm-load-secrets/README.md index fad2cd6ee..b76f0d7b4 120000 --- a/actions/gcp-gsm-load-secrets/README.md +++ b/actions/gcp-gsm-load-secrets/README.md @@ -1 +1 @@ -docs/actions/gcp-gsm-load-secrets/README.md \ No newline at end of file +../../docs/actions/gcp-gsm-load-secrets/README.md \ No newline at end of file diff --git a/actions/gcp-gsm-parse-secrets/README.md b/actions/gcp-gsm-parse-secrets/README.md index 9567d8ebe..53bf8ee0d 120000 --- a/actions/gcp-gsm-parse-secrets/README.md +++ b/actions/gcp-gsm-parse-secrets/README.md @@ -1 +1 @@ -docs/actions/gcp-gsm-parse-secrets/README.md \ No newline at end of file +../../docs/actions/gcp-gsm-parse-secrets/README.md \ No newline at end of file diff --git a/actions/helm-lint/action.yaml b/actions/helm-lint/action.yaml index 4617c0824..d3eb17994 100644 --- a/actions/helm-lint/action.yaml +++ b/actions/helm-lint/action.yaml @@ -18,7 +18,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: ref: "${{ inputs.ref }}" # fetch-depth of 0 is needed for the comparison of Helm charts from the HEAD of the current diff --git a/actions/java-gradle-assess-code-quality/action.yaml b/actions/java-gradle-assess-code-quality/action.yaml index 0a650679d..1cd88b642 100644 --- a/actions/java-gradle-assess-code-quality/action.yaml +++ b/actions/java-gradle-assess-code-quality/action.yaml @@ -54,12 +54,12 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: lfs: ${{ inputs.download-lfs-files }} - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-gradle-build-jib/action.yaml b/actions/java-gradle-build-jib/action.yaml index 7ed6d4125..11863a10c 100644 --- a/actions/java-gradle-build-jib/action.yaml +++ b/actions/java-gradle-build-jib/action.yaml @@ -68,12 +68,12 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: lfs: ${{ inputs.download-lfs-files }} - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-gradle-build/action.yaml b/actions/java-gradle-build/action.yaml index 7cec1e2a6..a2ee022f5 100644 --- a/actions/java-gradle-build/action.yaml +++ b/actions/java-gradle-build/action.yaml @@ -38,10 +38,10 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -60,7 +60,7 @@ runs: working-directory: ${{ inputs.working-directory }} - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.build-artifact-name }} path: ${{ inputs.working-directory }}/**/build/libs/*.jar diff --git a/actions/java-gradle-publish-plugin/action.yml b/actions/java-gradle-publish-plugin/action.yml index 0af44b6c5..8cb2f005f 100644 --- a/actions/java-gradle-publish-plugin/action.yml +++ b/actions/java-gradle-publish-plugin/action.yml @@ -49,10 +49,10 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-gradle-publish/action.yaml b/actions/java-gradle-publish/action.yaml index cba2cd469..f673c152d 100644 --- a/actions/java-gradle-publish/action.yaml +++ b/actions/java-gradle-publish/action.yaml @@ -49,10 +49,10 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-gradle-release-github/action.yaml b/actions/java-gradle-release-github/action.yaml index d2ff4a41a..bd9b18055 100644 --- a/actions/java-gradle-release-github/action.yaml +++ b/actions/java-gradle-release-github/action.yaml @@ -37,18 +37,18 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: fetch-depth: 0 - name: Download build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build-artifact path: build - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-gradle-release/action.yaml b/actions/java-gradle-release/action.yaml index d86ee1c82..445575210 100644 --- a/actions/java-gradle-release/action.yaml +++ b/actions/java-gradle-release/action.yaml @@ -52,7 +52,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: fetch-depth: 0 token: ${{ inputs.github-token }} @@ -70,7 +70,7 @@ runs: shell: bash - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -101,7 +101,7 @@ runs: shell: bash - name: Create changelog - uses: bakdata/ci-templates/actions/changelog-generate@1.48.0 + uses: bakdata/ci-templates/actions/changelog-generate@1.49.0 with: github-token: ${{ inputs.github-token }} tag: ${{ steps.evaluate-version.outputs.release-version }} diff --git a/actions/java-gradle-test/action.yaml b/actions/java-gradle-test/action.yaml index 6a5d7139c..d2e121fab 100644 --- a/actions/java-gradle-test/action.yaml +++ b/actions/java-gradle-test/action.yaml @@ -39,12 +39,12 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: lfs: ${{ inputs.download-lfs-files }} - name: Set up Gradle with version ${{ inputs.gradle-version }} - uses: bakdata/ci-templates/actions/java-gradle-setup@1.42.0 + uses: bakdata/ci-templates/actions/java-gradle-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} @@ -58,7 +58,7 @@ runs: working-directory: ${{ inputs.working-directory }} - name: Report test results - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v5 if: always() # always run even if the previous step fails with: report_paths: "**/build/test-results/test/TEST-*.xml" diff --git a/actions/java-maven-build/action.yaml b/actions/java-maven-build/action.yaml index 3630031c7..3041fc2dc 100644 --- a/actions/java-maven-build/action.yaml +++ b/actions/java-maven-build/action.yaml @@ -25,10 +25,10 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 - name: Set up Maven with version ${{ inputs.maven-version }} - uses: bakdata/ci-templates/actions/java-maven-setup@1.46.8 + uses: bakdata/ci-templates/actions/java-maven-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-maven-release/action.yaml b/actions/java-maven-release/action.yaml index 79ec1137d..092c8c569 100644 --- a/actions/java-maven-release/action.yaml +++ b/actions/java-maven-release/action.yaml @@ -39,7 +39,7 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: fetch-depth: 0 token: ${{ inputs.github-token }} @@ -57,7 +57,7 @@ runs: shell: bash - name: Set up Maven with version ${{ inputs.maven-version }} - uses: bakdata/ci-templates/actions/java-maven-setup@1.46.8 + uses: bakdata/ci-templates/actions/java-maven-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-maven-setup/action.yaml b/actions/java-maven-setup/action.yaml index 1bec911cd..84c61bcbf 100644 --- a/actions/java-maven-setup/action.yaml +++ b/actions/java-maven-setup/action.yaml @@ -16,7 +16,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/actions/java-maven-test/action.yaml b/actions/java-maven-test/action.yaml index b0ba00a91..5c23d5932 100644 --- a/actions/java-maven-test/action.yaml +++ b/actions/java-maven-test/action.yaml @@ -30,12 +30,12 @@ runs: using: "composite" steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@1.49.0 with: lfs: ${{ inputs.download-lfs-files }} - name: Set up Maven with version ${{ inputs.maven-version }} - uses: bakdata/ci-templates/actions/java-maven-setup@1.46.8 + uses: bakdata/ci-templates/actions/java-maven-setup@1.49.0 with: java-distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} diff --git a/docs/actions/bump-version/README.md b/docs/actions/bump-version/README.md index 2bc4883a2..2ae0e533f 100644 --- a/docs/actions/bump-version/README.md +++ b/docs/actions/bump-version/README.md @@ -21,7 +21,7 @@ Add the following steps to your workflow: ```yaml steps: # check out current repository - - uses: bakdata/ci-templates/actions/checkout@1.32.0 + - uses: bakdata/ci-templates/actions/checkout@main # bump the version of your project - name: Bump version diff --git a/docs/actions/changelog-generate/README.md b/docs/actions/changelog-generate/README.md index 5fcc20897..8f9e7ac9f 100644 --- a/docs/actions/changelog-generate/README.md +++ b/docs/actions/changelog-generate/README.md @@ -60,7 +60,7 @@ Without it, the changelog action will be unable to track down previous tags. ```yaml steps: - - uses: bakdata/ci-templates/actions/checkout@1.32.0 + - uses: bakdata/ci-templates/actions/checkout@main with: persist-credentials: false fetch-depth: 0 @@ -100,7 +100,7 @@ steps: | OUTPUT | TYPE | DESCRIPTION | | ---------------- | ------ | -------------------------- | -| merged-changelog | string | All changelogs combinded. | +| merged-changelog | string | All changelogs combined. | | single-changelog | string | Only the latest changelog. | diff --git a/docs/actions/commit-and-push/README.md b/docs/actions/commit-and-push/README.md index 7f5eb4dbc..346828677 100644 --- a/docs/actions/commit-and-push/README.md +++ b/docs/actions/commit-and-push/README.md @@ -10,7 +10,7 @@ This composite action commits the changes of your repository with an arbitrary c ```yaml steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@main with: persist-credentials: false # required for pushing to protected branch later diff --git a/docs/actions/java-gradle-release/README.md b/docs/actions/java-gradle-release/README.md index 6e17fa569..6d3afa54c 100644 --- a/docs/actions/java-gradle-release/README.md +++ b/docs/actions/java-gradle-release/README.md @@ -1,6 +1,6 @@ # Description java-gradle-release composite action -This action releases Java Gradle artifacts by createing a tag on GitHub. +This action releases Java Gradle artifacts by creating a tag on GitHub. ## Usage diff --git a/docs/actions/python-poetry-publish-pypi/README.md b/docs/actions/python-poetry-publish-pypi/README.md index cf2d4b36a..820a48650 100644 --- a/docs/actions/python-poetry-publish-pypi/README.md +++ b/docs/actions/python-poetry-publish-pypi/README.md @@ -7,7 +7,7 @@ This composite action uses Poetry to build and publish your Python packages eith ```yaml steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@main # Other steps in your workflow diff --git a/docs/actions/python-poetry-publish/README.md b/docs/actions/python-poetry-publish/README.md index ed01f9eb0..697db1ef1 100644 --- a/docs/actions/python-poetry-publish/README.md +++ b/docs/actions/python-poetry-publish/README.md @@ -7,7 +7,7 @@ This composite action uses Poetry to build and publish your Python packages to a ```yaml steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@main # Other steps in your workflow diff --git a/docs/actions/tag-and-release/README.md b/docs/actions/tag-and-release/README.md index b20ad6c3c..5c9b6f0ee 100644 --- a/docs/actions/tag-and-release/README.md +++ b/docs/actions/tag-and-release/README.md @@ -13,7 +13,7 @@ This action uses another composite action listed below: ```yaml steps: - name: Check out repository - uses: bakdata/ci-templates/actions/checkout@1.32.0 + uses: bakdata/ci-templates/actions/checkout@main - name: Tag and release project uses: bakdata/ci-templates/actions/tag-and-release@main