ci: upgrade to actions/checkout@v3

This uses the new node 16 version (see [1]), which is the future proof
version, since node 12 will be deprecated by summer 2023 (see [2]).

[1] upstream commits:
8f9e05e482
a12a3943b4

[2] https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
This commit is contained in:
Christian Kellner 2022-11-01 17:07:52 +00:00 committed by Achilleas Koutsou
parent 1ecc784386
commit 58bafaad98
4 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@ jobs:
pip install docutils pip install docutils
- name: Clone repository - name: Clone repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: osbuild path: osbuild
@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Clone Repository" - name: "Clone Repository"
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: "Regenerate Test Data" - name: "Regenerate Test Data"
uses: osbuild/containers/src/actions/privdocker@1e349b1c69884f9f38f7afa567869b975104828c uses: osbuild/containers/src/actions/privdocker@1e349b1c69884f9f38f7afa567869b975104828c
with: with:
@ -51,7 +51,7 @@ jobs:
name: "Spell check" name: "Spell check"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master - uses: codespell-project/actions-codespell@master
with: with:
ignore_words_list: msdos, pullrequest ignore_words_list: msdos, pullrequest
@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Clone Repository" - name: "Clone Repository"
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: "Run Tests" - name: "Run Tests"
uses: osbuild/containers/src/actions/privdocker@1e349b1c69884f9f38f7afa567869b975104828c uses: osbuild/containers/src/actions/privdocker@1e349b1c69884f9f38f7afa567869b975104828c
with: with:

View file

@ -14,7 +14,7 @@ jobs:
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: osbuild path: osbuild

View file

@ -20,7 +20,7 @@ jobs:
- "test.src" - "test.src"
steps: steps:
- name: "Clone Repository" - name: "Clone Repository"
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 2 # codecov requires this (https://github.com/codecov/codecov-action/issues/190) fetch-depth: 2 # codecov requires this (https://github.com/codecov/codecov-action/issues/190)
- name: "Run Tests" - name: "Run Tests"

View file

@ -22,7 +22,7 @@ jobs:
sudo apt install -y jq sudo apt install -y jq
- name: Clone repository - name: Clone repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ github.event.workflow_run.head_sha }} ref: ${{ github.event.workflow_run.head_sha }}
fetch-depth: 0 fetch-depth: 0