[ci] Update GitHub Actions to their latest major release

This commit is contained in:
Christoph Grüninger
2026-03-17 13:57:11 +01:00
committed by Guangli Dai
parent 873d91033b
commit 94977e823e
5 changed files with 9 additions and 9 deletions

View File

@@ -5,6 +5,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Check for trailing whitespace - name: Check for trailing whitespace
run: scripts/check_trailing_whitespace.sh run: scripts/check_trailing_whitespace.sh

View File

@@ -510,7 +510,7 @@ jobs:
EXTRA_CFLAGS: "-Werror -Wno-array-bounds" EXTRA_CFLAGS: "-Werror -Wno-array-bounds"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Show OS version - name: Show OS version
run: | run: |
@@ -639,7 +639,7 @@ jobs:
EXTRA_CFLAGS: "-Werror -Wno-array-bounds" EXTRA_CFLAGS: "-Werror -Wno-array-bounds"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Show OS version - name: Show OS version
run: | run: |

View File

@@ -62,7 +62,7 @@ jobs:
EXTRA_CFLAGS: "-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations" EXTRA_CFLAGS: "-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Show OS version - name: Show OS version
run: | run: |
@@ -164,7 +164,7 @@ jobs:
EXTRA_CFLAGS: "-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations" EXTRA_CFLAGS: "-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Show OS version - name: Show OS version
run: | run: |

View File

@@ -7,7 +7,7 @@ jobs:
# We build libunwind ourselves because sadly the version # We build libunwind ourselves because sadly the version
# provided by Ubuntu via apt-get is much too old. # provided by Ubuntu via apt-get is much too old.
- name: Check out libunwind - name: Check out libunwind
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: libunwind/libunwind repository: libunwind/libunwind
path: libunwind path: libunwind
@@ -23,7 +23,7 @@ jobs:
cd .. cd ..
rm -rf libunwind rm -rf libunwind
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v6
# We download LLVM directly from the latest stable release # We download LLVM directly from the latest stable release
# on GitHub, because this tends to be much newer than the # on GitHub, because this tends to be much newer than the
# version available via apt-get in Ubuntu. # version available via apt-get in Ubuntu.
@@ -54,7 +54,7 @@ jobs:
scripts/run_static_analysis.sh static_analysis_results "$GITHUB_OUTPUT" scripts/run_static_analysis.sh static_analysis_results "$GITHUB_OUTPUT"
- name: Upload static analysis results - name: Upload static analysis results
if: ${{ steps.run_static_analysis.outputs.HAS_STATIC_ANALYSIS_RESULTS }} == '1' if: ${{ steps.run_static_analysis.outputs.HAS_STATIC_ANALYSIS_RESULTS }} == '1'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: static_analysis_results name: static_analysis_results
path: static_analysis_results path: static_analysis_results

View File

@@ -54,7 +54,7 @@ jobs:
CONFIGURE_FLAGS: --enable-debug CONFIGURE_FLAGS: --enable-debug
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Show OS version - name: Show OS version
shell: cmd shell: cmd