mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-30 11:24:40 +00:00
Merge pull request #36 from 0xFelix/update-actions
.github: Bump versions of all used actions
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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'
|
||||||
|
|||||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -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'
|
||||||
|
|||||||
4
.github/workflows/extra-docs-linting.yml
vendored
4
.github/workflows/extra-docs-linting.yml
vendored
@@ -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'
|
||||||
|
|
||||||
|
|||||||
8
.github/workflows/integration.yml
vendored
8
.github/workflows/integration.yml
vendored
@@ -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
|
||||||
|
|||||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user