.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 <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-02-27 16:40:33 +01:00
parent 3dda5fbce6
commit 205ef04954
5 changed files with 12 additions and 14 deletions

View File

@@ -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')