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 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
check-latest: true
cache: 'yarn' cache: 'yarn'
- name: Install - name: Install

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -106,7 +106,6 @@ jobs:
if: \${{ !matrix.settings.docker }} if: \${{ !matrix.settings.docker }}
with: with:
node-version: 18 node-version: 18
check-latest: true
cache: yarn cache: yarn
- name: Install - name: Install
@ -150,7 +149,6 @@ jobs:
if: matrix.settings.target == 'i686-pc-windows-msvc' if: matrix.settings.target == 'i686-pc-windows-msvc'
with: with:
node-version: 18 node-version: 18
check-latest: true
cache: yarn cache: yarn
architecture: x86 architecture: x86
@ -247,7 +245,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: \${{ matrix.node }} node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn' cache: 'yarn'
- name: 'Install dependencies' - name: 'Install dependencies'
@ -283,7 +280,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: \${{ matrix.node }} node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn' cache: 'yarn'
- name: 'Install dependencies' - name: 'Install dependencies'
@ -319,7 +315,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: \${{ matrix.node }} node-version: \${{ matrix.node }}
check-latest: true
cache: 'yarn' cache: 'yarn'
- name: 'Install dependencies' - name: 'Install dependencies'
@ -483,7 +478,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
check-latest: true
cache: yarn cache: yarn
- name: 'Install dependencies' - name: 'Install dependencies'
@ -529,7 +523,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
check-latest: true
cache: 'yarn' cache: 'yarn'
- name: 'Install dependencies' - name: 'Install dependencies'