Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecated NodeJS actions #215

Merged
merged 8 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test-python-setup-poetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bump-version-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,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: false # required for pushing to protected branch later
Expand All @@ -68,7 +68,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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-gke-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-gke-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/helm-multi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand All @@ -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
Expand All @@ -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: |
Expand All @@ -116,15 +116,15 @@ 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 }}
retention-days: 1

- 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
Expand All @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java-gradle-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java-gradle-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java-gradle-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java-gradle-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-gradle-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-gke-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-gke-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-poetry-publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-poetry-publish-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-poetry-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tag-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion actions/action-lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down
4 changes: 2 additions & 2 deletions actions/changelog-generate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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
Expand Down
Loading
Loading