diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dc9b1c..855c4ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} - name: setup sccache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cc9b74..67e02fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,13 +16,11 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ github.ref }} - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release + - name: Build + run: cargo build --release - name: Run unit test run: cargo test - name: Install Yarn Dependencies