diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fe9383c3f..5b9a9dbea9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,10 @@ jobs: with: toolchain: stable - uses: Swatinem/rust-cache@v2 + - name: Install cargo insta + uses: taiki-e/install-action@v2 + with: + tool: cargo-insta - name: Check run: make check - name: Test @@ -28,6 +32,10 @@ jobs: with: toolchain: stable - uses: Swatinem/rust-cache@v2 + - name: Install cargo insta + uses: taiki-e/install-action@v2 + with: + tool: cargo-insta - name: Check run: make check - name: Test @@ -43,6 +51,10 @@ jobs: with: toolchain: stable - uses: Swatinem/rust-cache@v2 + - name: Install cargo insta + uses: taiki-e/install-action@v2 + with: + tool: cargo-insta - name: Check run: make check - name: Test diff --git a/Makefile b/Makefile index f8677beacd..9573c4f1da 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build: .PHONY: test test: - @cargo test --all + @cargo insta test --workspace --all-features .PHONY: check check: