Merge pull request #36 from 0xFelix/update-actions

.github: Bump versions of all used actions
This commit is contained in:
kubevirt-bot
2024-02-27 16:54:55 +01:00
committed by GitHub
5 changed files with 12 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: ansible_collections/kubevirt/core path: ansible_collections/kubevirt/core
fetch-depth: 0 fetch-depth: 0
@@ -35,7 +35,7 @@ jobs:
current-context: default current-context: default
EOF EOF
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: '3.11' python-version: '3.11'
cache: 'pip' cache: 'pip'

View File

@@ -26,13 +26,13 @@ jobs:
pages: write pages: write
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: ansible_collections/kubevirt/core path: ansible_collections/kubevirt/core
fetch-depth: 0 fetch-depth: 0
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: 3.11 python-version: 3.11
cache: 'pip' cache: 'pip'

View File

@@ -20,10 +20,10 @@ jobs:
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v3 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: '3.10'

View File

@@ -125,10 +125,10 @@ jobs:
name: "${{ matrix.test-target }} / py${{ matrix.python-version }} / ${{ matrix.ansible-version }}" name: "${{ matrix.test-target }} / py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
steps: steps:
- name: Checkout kubevirt.core repository - name: Checkout kubevirt.core repository
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: ${{ env.source }} path: ${{ env.source }}
fetch-depth: "0" fetch-depth: 0
if: inputs.ansible_test_targets != '' if: inputs.ansible_test_targets != ''
- name: install dependencies collection - name: install dependencies collection
@@ -147,11 +147,9 @@ jobs:
if: inputs.ansible_test_targets != '' if: inputs.ansible_test_targets != ''
- name: install kind / kubectl - name: install kind / kubectl
uses: helm/kind-action@v1.8.0 uses: helm/kind-action@v1.9.0
with: with:
install_only: true install_only: true
version: v0.20.0
kubectl_version: v1.27.3
if: inputs.ansible_test_targets != '' if: inputs.ansible_test_targets != ''
- name: deploy kubevirt - name: deploy kubevirt

View File

@@ -18,12 +18,12 @@ jobs:
tag_version: ${{ steps.get_version.outputs.TAG_VERSION }} tag_version: ${{ steps.get_version.outputs.TAG_VERSION }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: "3.x" python-version: "3.x"
cache: 'pip' cache: 'pip'
@@ -38,7 +38,7 @@ jobs:
- name: Fail if tag exists - name: Fail if tag exists
if: ${{ steps.get_version.outputs.TAG_VERSION == steps.check_tag.outputs.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: with:
script: | script: |
core.setFailed('Release tag already exists') core.setFailed('Release tag already exists')