From c61336c4fcf351b0a200c7ae205e6b815d39e159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 6 Mar 2024 10:10:02 +0100 Subject: [PATCH] Update checkout actions Fixes: https://github.com/quickjs-ng/quickjs/issues/292 --- .github/workflows/ci.yml | 46 +++++++++++++++++------------------ .github/workflows/release.yml | 10 ++++---- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f94e307..7b7f791 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: codegen: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make codegen @@ -31,7 +31,7 @@ jobs: matrix: buildType: [Debug, Release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: build @@ -57,7 +57,7 @@ jobs: run: shell: alpine.sh {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jirutka/setup-alpine@v1 with: arch: x86 @@ -124,7 +124,7 @@ jobs: linux-examples: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make BUILD_EXAMPLES=ON @@ -146,7 +146,7 @@ jobs: linux-shared: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make BUILD_SHARED_LIBS=ON @@ -157,7 +157,7 @@ jobs: linux-asan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: build @@ -176,7 +176,7 @@ jobs: linux-msan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: build @@ -192,7 +192,7 @@ jobs: linux-ubsan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: build @@ -216,7 +216,7 @@ jobs: matrix: buildType: [Debug, Release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make BUILD_TYPE=${{matrix.buildType}} @@ -229,7 +229,7 @@ jobs: macos-examples: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make BUILD_EXAMPLES=ON @@ -251,7 +251,7 @@ jobs: macos-shared: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make BUILD_SHARED_LIBS=ON @@ -262,7 +262,7 @@ jobs: macos-asan: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make CONFIG_ASAN=ON @@ -274,7 +274,7 @@ jobs: macos-ubsan: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | make CONFIG_UBSAN=ON @@ -291,7 +291,7 @@ jobs: matrix: buildType: [Debug, Release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" @@ -319,7 +319,7 @@ jobs: matrix: buildType: [Debug, Release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" -T ClangCL @@ -355,7 +355,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: @@ -383,7 +383,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: @@ -405,7 +405,7 @@ jobs: emscripten: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: mymindstorm/setup-emsdk@v13 - name: check emsdk run: emcc -v @@ -418,7 +418,7 @@ jobs: wasi: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jcbhmr/setup-wasmtime@v2 - name: setup wasi-sdk run: | @@ -446,7 +446,7 @@ jobs: with: packages: make cmake gcc-g++ bash - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: make @@ -460,7 +460,7 @@ jobs: openbsd: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build + test uses: vmactions/openbsd-vm@v1 with: @@ -474,7 +474,7 @@ jobs: freebsd: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build + test uses: vmactions/freebsd-vm@v1 with: @@ -488,7 +488,7 @@ jobs: netbsd: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build + test uses: vmactions/netbsd-vm@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcc296b..58c7526 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: linux-x86: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jirutka/setup-alpine@v1 with: arch: x86 @@ -37,7 +37,7 @@ jobs: linux-x86_64: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jirutka/setup-alpine@v1 with: arch: x86_64 @@ -65,7 +65,7 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | mkdir build @@ -89,7 +89,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: @@ -121,7 +121,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: