From 205ef0495481dd85e74acfc15c8390769906ded5 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Tue, 27 Feb 2024 16:40:33 +0100 Subject: [PATCH] .github: Bump versions of all used actions Bump the versions of all used actions to the latest stable version and try to use the same config across files and defaults where sensible. Signed-off-by: Felix Matouschek --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/extra-docs-linting.yml | 4 ++-- .github/workflows/integration.yml | 8 +++----- .github/workflows/release.yml | 6 +++--- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34a3316..15bdad3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ansible_collections/kubevirt/core fetch-depth: 0 @@ -35,7 +35,7 @@ jobs: current-context: default EOF - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 517e2c7..611fe1c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,13 +26,13 @@ jobs: pages: write steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ansible_collections/kubevirt/core fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 cache: 'pip' diff --git a/.github/workflows/extra-docs-linting.yml b/.github/workflows/extra-docs-linting.yml index 8969958..e659f86 100644 --- a/.github/workflows/extra-docs-linting.yml +++ b/.github/workflows/extra-docs-linting.yml @@ -20,10 +20,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index dd3cd9d..e50c26b 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -125,10 +125,10 @@ jobs: name: "${{ matrix.test-target }} / py${{ matrix.python-version }} / ${{ matrix.ansible-version }}" steps: - name: Checkout kubevirt.core repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.source }} - fetch-depth: "0" + fetch-depth: 0 if: inputs.ansible_test_targets != '' - name: install dependencies collection @@ -147,11 +147,9 @@ jobs: if: inputs.ansible_test_targets != '' - name: install kind / kubectl - uses: helm/kind-action@v1.8.0 + uses: helm/kind-action@v1.9.0 with: install_only: true - version: v0.20.0 - kubectl_version: v1.27.3 if: inputs.ansible_test_targets != '' - name: deploy kubevirt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2065195..345ef9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,12 @@ jobs: tag_version: ${{ steps.get_version.outputs.TAG_VERSION }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" cache: 'pip' @@ -38,7 +38,7 @@ jobs: - name: Fail if tag exists if: ${{ steps.get_version.outputs.TAG_VERSION == steps.check_tag.outputs.TAG_EXISTS }} - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('Release tag already exists')