ci: remove depracated action (#1555)

This commit is contained in:
LongYinan 2023-04-08 23:37:28 +08:00 committed by GitHub
parent 2d1e4144b3
commit a57a59f735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 5 additions and 30 deletions

View file

@ -26,7 +26,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: Install

View file

@ -24,7 +24,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: Install

View file

@ -25,7 +25,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: Install

View file

@ -25,7 +25,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: Install

View file

@ -44,10 +44,7 @@ jobs:
run: yarn install --mode=skip-build --immutable
- name: Check build
uses: actions-rs/cargo@v1
with:
command: check
args: --all --bins --examples --tests -vvv
run: cargo check --all --bins --examples --tests -vvv
- name: Unit tests
run: |

View file

@ -52,10 +52,7 @@ jobs:
run: yarn install --mode=skip-build --immutable
- name: Check build
uses: actions-rs/cargo@v1
with:
command: check
args: --all --bins --examples --tests -vvv
run: cargo check --all --bins --examples --tests -vvv
- name: Unit tests
run: |

View file

@ -46,10 +46,7 @@ jobs:
key: stable-windows-arm64-node@16-cargo-cache
- name: Check build
uses: actions-rs/cargo@v1
with:
command: check
args: --all --bins --examples --tests --target aarch64-pc-windows-msvc -vvv
run: cargo check --all --bins --examples --tests --target aarch64-pc-windows-msvc -vvv
- name: Build release target
run: |

View file

@ -47,10 +47,7 @@ jobs:
key: stable-windows-i686-node@18-cargo-cache
- name: Check build
uses: actions-rs/cargo@v1
with:
command: check
args: --all --bins --examples --tests --target i686-pc-windows-msvc -vvv
run: cargo check --all --bins --examples --tests --target i686-pc-windows-msvc -vvv
- name: Build
run: |
@ -61,7 +58,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
architecture: 'x86'
- name: Build Tests

View file

@ -102,7 +102,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable --mode=skip-build

View file

@ -106,7 +106,6 @@ jobs:
if: \${{ !matrix.settings.docker }}
with:
node-version: 18
check-latest: true
cache: yarn
- name: Install
@ -150,7 +149,6 @@ jobs:
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 18
check-latest: true
cache: yarn
architecture: x86
@ -247,7 +245,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn'
- name: 'Install dependencies'
@ -283,7 +280,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn'
- name: 'Install dependencies'
@ -319,7 +315,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn'
- name: 'Install dependencies'
@ -368,7 +363,7 @@ jobs:
yarn config set supportedArchitectures.cpu "arm64"
yarn config set supportedArchitectures.libc "glibc"
yarn install
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
@ -483,7 +478,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: yarn
- name: 'Install dependencies'
@ -529,7 +523,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'yarn'
- name: 'Install dependencies'