From 026d8f242909c29ead157967a84695d66c57a02b Mon Sep 17 00:00:00 2001 From: Dario Anongba Varela Date: Mon, 9 Dec 2024 18:14:08 +0100 Subject: [PATCH] use commits in actions and not tags --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5716ff2..adfe6f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,13 +32,13 @@ jobs: - name: checkout uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@4f647fc679bcd3b11499ccb42104547c83dabe96 with: toolchain: ${{ matrix.rust.version }} - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f - name: Rust Cache - uses: Swatinem/rust-cache@v2.7.5 + uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab - name: Build run: | if [ "${{ matrix.features }}" = "all" ]; then @@ -57,7 +57,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@4f647fc679bcd3b11499ccb42104547c83dabe96 with: toolchain: stable components: rustfmt @@ -71,11 +71,11 @@ jobs: checks: write steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@4f647fc679bcd3b11499ccb42104547c83dabe96 with: toolchain: ${{ needs.prepare.outputs.rust_version }} components: clippy - name: Rust Cache - uses: Swatinem/rust-cache@v2.7.5 + uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab - name: Run Clippy run: cargo clippy --all-features --all-targets -- -D warnings