chore: bump `actions/checkout`

Breaking changes:
- Bump Node.js runtime to version 20
This commit is contained in:
Yat Ho 2024-03-04 14:44:21 +08:00
parent c964c84e1f
commit 6d7b2436e0
3 changed files with 14 additions and 14 deletions

View File

@ -37,7 +37,7 @@ jobs:
fi fi
- name: Get Source - name: Get Source
id: get-source id: get-source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
path: src path: src
@ -82,7 +82,7 @@ jobs:
echo '${{ toJSON(runner) }}' echo '${{ toJSON(runner) }}'
cat /etc/os-release cat /etc/os-release
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Get Dependencies - name: Get Dependencies
@ -147,7 +147,7 @@ jobs:
ninja-build \ ninja-build \
npm npm
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
path: src path: src
@ -208,7 +208,7 @@ jobs:
ninja-build \ ninja-build \
npm npm
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
path: src path: src
@ -249,7 +249,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }} if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: brew install qt run: brew install qt
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
submodules: recursive submodules: recursive
@ -326,7 +326,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }} if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: apk add --upgrade qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev run: apk add --upgrade qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
submodules: recursive submodules: recursive
@ -391,7 +391,7 @@ jobs:
Install-Module -Name Pscx -RequiredVersion 4.0.0-beta4 -AllowPrerelease -Force Install-Module -Name Pscx -RequiredVersion 4.0.0-beta4 -AllowPrerelease -Force
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
submodules: recursive submodules: recursive
@ -484,7 +484,7 @@ jobs:
libssl-dev \ libssl-dev \
ninja-build ninja-build
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
submodules: recursive submodules: recursive
@ -811,7 +811,7 @@ jobs:
ninja-build ninja-build
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive

View File

@ -30,7 +30,7 @@ jobs:
steps: steps:
- name: Checkout repository and submodules - name: Checkout repository and submodules
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive

View File

@ -21,7 +21,7 @@ jobs:
update-generated-files: ${{ steps.check-diffs.outputs.web-changed == '1' && steps.check-main-push.outputs.is-main-push == '1'}} update-generated-files: ${{ steps.check-diffs.outputs.web-changed == '1' && steps.check-main-push.outputs.is-main-push == '1'}}
steps: steps:
- name: Get source - name: Get source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 2 # >1 needed for merge base fetch-depth: 2 # >1 needed for merge base
- name: Check push-to-main - name: Check push-to-main
@ -58,7 +58,7 @@ jobs:
if: ${{ needs.decide-what-jobs-to-run.outputs.test-style == 'true' }} if: ${{ needs.decide-what-jobs-to-run.outputs.test-style == 'true' }}
steps: steps:
- name: Get source - name: Get source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Get dependencies - name: Get dependencies
run: | run: |
set -e # abort if any command fails set -e # abort if any command fails
@ -98,7 +98,7 @@ jobs:
if: ${{ needs.decide-what-jobs-to-run.outputs.test-generated-files == 'true' }} if: ${{ needs.decide-what-jobs-to-run.outputs.test-generated-files == 'true' }}
steps: steps:
- name: Get source - name: Get source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 2 # >1 needed for merge base fetch-depth: 2 # >1 needed for merge base
- name: Check for changes to generated files - name: Check for changes to generated files
@ -131,7 +131,7 @@ jobs:
set -e # abort if any command fails set -e # abort if any command fails
sudo apt-get install -y npm sudo apt-get install -y npm
- name: Get source - name: Get source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 2 # >1 needed for merge base fetch-depth: 2 # >1 needed for merge base
- name: Generate webapp files - name: Generate webapp files