[github] Use checkout@v3 actions

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2022-09-24 23:12:22 +02:00 committed by Viktor Govako
parent bb15be2431
commit 138fefddf9
12 changed files with 26 additions and 26 deletions

View file

@ -39,7 +39,7 @@ jobs:
sudo apt-get install -y ninja-build
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100 # enough to get all commits for the current day
@ -48,7 +48,7 @@ jobs:
run: git submodule update --init --recursive --jobs=$(($(nproc) * 2))
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check metadata
run: ./tools/python/check_store_metadata.py android

View file

@ -42,7 +42,7 @@ jobs:
sudo apt-get install -y ninja-build
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 200 # enough to get all commits for the current day

View file

@ -10,7 +10,7 @@ jobs:
name: Check preconditions
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1000 # fetch month or so
@ -45,7 +45,7 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100 # enough to get all commits for the current day
@ -54,7 +54,7 @@ jobs:
run: git submodule update --init --recursive --jobs=$(($(nproc) * 2))
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}

View file

@ -9,14 +9,14 @@ jobs:
environment: production
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Parallel submodules checkout
shell: bash
run: git submodule update --init --recursive --jobs=$(($(nproc) * 2))
- name: Checkout screenshots
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.SCREENSHOTS_REPO }}
ssh-key: ${{ secrets.SCREENSHOTS_SSH_KEY }}
@ -33,7 +33,7 @@ jobs:
done
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}

View file

@ -13,7 +13,7 @@ jobs:
environment: production
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100 # Enough to get all commits for the last day.
ssh-key: ${{ secrets.RELEASE_SSH_KEY }}
@ -75,7 +75,7 @@ jobs:
sudo apt-get install -y ninja-build
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100 # enough to get all commits for the current day
ref: 'refs/tags/${{ needs.tag.outputs.tag }}'
@ -92,7 +92,7 @@ jobs:
run: git submodule update --init --recursive --jobs=$(($(nproc) * 2))
- name: Checkout screenshots
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.SCREENSHOTS_REPO }}
ssh-key: ${{ secrets.SCREENSHOTS_SSH_KEY }}
@ -100,7 +100,7 @@ jobs:
path: screenshots
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}

View file

@ -39,7 +39,7 @@ jobs:
shell: bash
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100 # enough to get all commits for the current day
@ -47,7 +47,7 @@ jobs:
run: git submodule update --init --recursive --jobs=4
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check metadata
run: ./tools/python/check_store_metadata.py ios

View file

@ -38,7 +38,7 @@ jobs:
buildType: [Debug, Release]
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Parallel submodules checkout
shell: bash

View file

@ -13,10 +13,10 @@ jobs:
environment: production
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout private keys
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.PRIVATE_REPO }}
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}
@ -31,7 +31,7 @@ jobs:
rm -rf ./private.git
- name: Checkout screenshots
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.SCREENSHOTS_REPO }}
ssh-key: ${{ secrets.SCREENSHOTS_SSH_KEY }}

View file

@ -35,7 +35,7 @@ jobs:
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Parallel submodules checkout
shell: bash
@ -85,7 +85,7 @@ jobs:
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Parallel submodules checkout
shell: bash
@ -121,7 +121,7 @@ jobs:
run: ninja
- name: Checkout world_feed_integration_tests_data
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: omapsapp/world_feed_integration_tests_data
path: data/world_feed_integration_tests_data
@ -162,7 +162,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install appstream validator
shell: bash

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: '3'