diff --git a/.github/workflows/build-java.yml b/.github/workflows/build-java.yml index 947c14a..f404041 100644 --- a/.github/workflows/build-java.yml +++ b/.github/workflows/build-java.yml @@ -23,10 +23,10 @@ jobs: packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: java-version: 21 distribution: zulu diff --git a/.github/workflows/generate-java.yml b/.github/workflows/generate-java.yml index 857b248..71bf234 100644 --- a/.github/workflows/generate-java.yml +++ b/.github/workflows/generate-java.yml @@ -25,14 +25,14 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} # Checkout using the token. This will persist the token for use in later steps. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ steps.generate_token.outputs.token }} @@ -43,7 +43,7 @@ jobs: git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com" - name: Setup Maven authentication to GitHub packages - uses: s4u/maven-settings-action@v2.8.0 + uses: s4u/maven-settings-action@v4.0.0 id: maven_settings with: servers: '[{"id": "github","configuration": {"httpHeaders": {"property": {"name": "Authorization","value": "Bearer ${{ secrets.GITHUB_TOKEN }}"}}}}]' diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 294d33c..4f8b35e 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -19,13 +19,13 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ steps.generate_token.outputs.token }} @@ -36,7 +36,7 @@ jobs: git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com" - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: "0.7.2" enable-cache: true diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 0d143ee..a6ea83d 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 # Reads labels from .github/labels.yml - name: Run Labeler - uses: crazy-max/ghaction-github-labeler@v4 + uses: crazy-max/ghaction-github-labeler@v5 with: skip-delete: true diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 05e70b5..c387739 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -24,13 +24,13 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 name: Generate Python Release Notes with: config-name: release-drafter-python.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 name: Generate Java Release Notes with: config-name: release-drafter-java.yml diff --git a/.github/workflows/release-java.yml b/.github/workflows/release-java.yml index d56482e..0e485e9 100644 --- a/.github/workflows/release-java.yml +++ b/.github/workflows/release-java.yml @@ -14,19 +14,19 @@ jobs: packages: write steps: - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: app-token with: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 with: token: ${{ steps.app-token.outputs.token }} ref: refs/heads/main - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: java-version: 21 distribution: zulu @@ -44,7 +44,7 @@ jobs: git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com" - name: Setup Maven authentication to GitHub packages - uses: s4u/maven-settings-action@v2.8.0 + uses: s4u/maven-settings-action@v4.0.0 id: maven_settings with: servers: '[{"id": "github","configuration": {"httpHeaders": {"property": {"name": "Authorization","value": "Bearer ${{ secrets.GITHUB_TOKEN }}"}}}}]' @@ -65,7 +65,7 @@ jobs: echo "tag=${TAG}" >> $GITHUB_OUTPUT - name: Create GitHub release draft - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@v6 id: create_github_release env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index a146f83..bd85135 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -26,18 +26,18 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} - name: Check out the repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 2 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true @@ -65,20 +65,20 @@ jobs: - name: Publish package on PyPI if: (steps.check-version.outputs.tag) || (github.event_name == 'workflow_dispatch') - uses: pypa/gh-action-pypi-publish@v1.12.4 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: packages-dir: generated/python/datadoc_model/dist # This package isn't currently published on TestPyPI # - name: Publish package on TestPyPI # if: (!steps.check-version.outputs.tag) - # uses: pypa/gh-action-pypi-publish@v1.12.4 + # uses: pypa/gh-action-pypi-publish@v1.13.0 # with: # packages-dir: generated/python/datadoc_model/dist # repository-url: https://test.pypi.org/legacy/ - name: Publish the release notes - uses: release-drafter/release-drafter@v6.1.0 + uses: release-drafter/release-drafter@v6 with: publish: ${{ steps.check-version.outputs.tag != '' }} tag: ${{ steps.check-version.outputs.tag }} diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 0591b04..8786769 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -21,9 +21,9 @@ jobs: run: working-directory: ./generated/python/datadoc_model steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: "0.7.2" enable-cache: true