diff options
Diffstat (limited to '.github/workflows/push-test.yml')
-rw-r--r-- | .github/workflows/push-test.yml | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 72fd98bb..f8217a45 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -20,27 +20,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path src-tauri/Cargo.toml --all -- --check + components: rustfmt + - name: Format check + run: cargo fmt --manifest-path src-tauri/Cargo.toml --all -- --check # Ensure committed bindings correct autogen-ts-bindings-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true - name: install dependencies (ubuntu only) run: | sudo apt-get update @@ -79,8 +73,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16 - - name: install Rust stable - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: toolchain: stable - name: install dependencies (ubuntu only) |