Update checkout actions

Fixes: https://github.com/quickjs-ng/quickjs/issues/292
This commit is contained in:
Saúl Ibarra Corretgé 2024-03-06 10:10:02 +01:00
parent d49a14ba3a
commit c61336c4fc
2 changed files with 28 additions and 28 deletions

View file

@ -18,7 +18,7 @@ jobs:
codegen: codegen:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make codegen make codegen
@ -31,7 +31,7 @@ jobs:
matrix: matrix:
buildType: [Debug, Release] buildType: [Debug, Release]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: build - name: build
@ -57,7 +57,7 @@ jobs:
run: run:
shell: alpine.sh {0} shell: alpine.sh {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1 - uses: jirutka/setup-alpine@v1
with: with:
arch: x86 arch: x86
@ -124,7 +124,7 @@ jobs:
linux-examples: linux-examples:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make BUILD_EXAMPLES=ON make BUILD_EXAMPLES=ON
@ -146,7 +146,7 @@ jobs:
linux-shared: linux-shared:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make BUILD_SHARED_LIBS=ON make BUILD_SHARED_LIBS=ON
@ -157,7 +157,7 @@ jobs:
linux-asan: linux-asan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: build - name: build
@ -176,7 +176,7 @@ jobs:
linux-msan: linux-msan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: build - name: build
@ -192,7 +192,7 @@ jobs:
linux-ubsan: linux-ubsan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: build - name: build
@ -216,7 +216,7 @@ jobs:
matrix: matrix:
buildType: [Debug, Release] buildType: [Debug, Release]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make BUILD_TYPE=${{matrix.buildType}} make BUILD_TYPE=${{matrix.buildType}}
@ -229,7 +229,7 @@ jobs:
macos-examples: macos-examples:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make BUILD_EXAMPLES=ON make BUILD_EXAMPLES=ON
@ -251,7 +251,7 @@ jobs:
macos-shared: macos-shared:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make BUILD_SHARED_LIBS=ON make BUILD_SHARED_LIBS=ON
@ -262,7 +262,7 @@ jobs:
macos-asan: macos-asan:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make CONFIG_ASAN=ON make CONFIG_ASAN=ON
@ -274,7 +274,7 @@ jobs:
macos-ubsan: macos-ubsan:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
make CONFIG_UBSAN=ON make CONFIG_UBSAN=ON
@ -291,7 +291,7 @@ jobs:
matrix: matrix:
buildType: [Debug, Release] buildType: [Debug, Release]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022"
@ -319,7 +319,7 @@ jobs:
matrix: matrix:
buildType: [Debug, Release] buildType: [Debug, Release]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" -T ClangCL cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Visual Studio 17 2022" -T ClangCL
@ -355,7 +355,7 @@ jobs:
run: run:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
@ -383,7 +383,7 @@ jobs:
run: run:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
@ -405,7 +405,7 @@ jobs:
emscripten: emscripten:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v13 - uses: mymindstorm/setup-emsdk@v13
- name: check emsdk - name: check emsdk
run: emcc -v run: emcc -v
@ -418,7 +418,7 @@ jobs:
wasi: wasi:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: jcbhmr/setup-wasmtime@v2 - uses: jcbhmr/setup-wasmtime@v2
- name: setup wasi-sdk - name: setup wasi-sdk
run: | run: |
@ -446,7 +446,7 @@ jobs:
with: with:
packages: make cmake gcc-g++ bash packages: make cmake gcc-g++ bash
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: make run: make
@ -460,7 +460,7 @@ jobs:
openbsd: openbsd:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build + test - name: build + test
uses: vmactions/openbsd-vm@v1 uses: vmactions/openbsd-vm@v1
with: with:
@ -474,7 +474,7 @@ jobs:
freebsd: freebsd:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build + test - name: build + test
uses: vmactions/freebsd-vm@v1 uses: vmactions/freebsd-vm@v1
with: with:
@ -488,7 +488,7 @@ jobs:
netbsd: netbsd:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build + test - name: build + test
uses: vmactions/netbsd-vm@v1 uses: vmactions/netbsd-vm@v1
with: with:

View file

@ -9,7 +9,7 @@ jobs:
linux-x86: linux-x86:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1 - uses: jirutka/setup-alpine@v1
with: with:
arch: x86 arch: x86
@ -37,7 +37,7 @@ jobs:
linux-x86_64: linux-x86_64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1 - uses: jirutka/setup-alpine@v1
with: with:
arch: x86_64 arch: x86_64
@ -65,7 +65,7 @@ jobs:
macos: macos:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
mkdir build mkdir build
@ -89,7 +89,7 @@ jobs:
run: run:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
@ -121,7 +121,7 @@ jobs:
run: run:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with: