Migrate github actions to Node 20

Github actions are transitioning to Node 20 ans Node 16 is EOL.

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
(cherry picked from commit 4ba026be38)
This commit is contained in:
matt335672 2024-02-21 09:36:53 +00:00 committed by Koichiro Iwao
parent 99cf0e19f7
commit d0edde791e

View File

@ -132,7 +132,7 @@ jobs:
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH_${{ matrix.arch }}" >> $GITHUB_ENV
echo "CFLAGS=$CFLAGS_${{ matrix.arch }}" >> $GITHUB_ENV
echo "LDFLAGS=$LDFLAGS_${{ matrix.arch }}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Install Dependencies"
# See https://github.com/actions/runner-images/issues/7192
run: |
@ -173,9 +173,9 @@ jobs:
id: os
run: echo "image=$ImageOS" >>$GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache cppcheck
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-cppcheck
with:
@ -202,9 +202,9 @@ jobs:
id: os
run: echo "image=$ImageOS" >>$GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache astyle
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-astyle
with: