diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48f532299a..531a33387d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,10 +53,12 @@ jobs: - uses: actions/checkout@v3 - name: "Install Rust toolchain" run: rustup show - - uses: Swatinem/rust-cache@v2 - # cargo insta 1.30.0 fails for some reason (https://github.com/mitsuhiko/insta/issues/392) - - run: cargo install cargo-insta@=1.29.0 + - name: "Install cargo insta" + uses: taiki-e/install-action@v2 + with: + tool: cargo-insta - run: pip install black[d]==23.1.0 + - uses: Swatinem/rust-cache@v2 - name: "Run tests (Ubuntu)" if: ${{ matrix.os == 'ubuntu-latest' }} run: cargo insta test --all --all-features --unreferenced reject diff --git a/Cargo.lock b/Cargo.lock index 4d904a5884..bd78f8fc12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -997,9 +997,9 @@ dependencies = [ [[package]] name = "insta" -version = "1.30.0" +version = "1.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28491f7753051e5704d4d0ae7860d45fae3238d7d235bc4289dcd45c48d3cec3" +checksum = "a0770b0a3d4c70567f0d58331f3088b0e4c4f56c9b8d764efe654b4a5d46de3a" dependencies = [ "console", "globset", diff --git a/Cargo.toml b/Cargo.toml index 80ba4e4419..63069a6a13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ filetime = { version = "0.2.20" } glob = { version = "0.3.1" } globset = { version = "0.4.10" } ignore = { version = "0.4.20" } -insta = { version = "1.30.0" } +insta = { version = "1.31.0" } is-macro = { version = "0.2.2" } itertools = { version = "0.10.5" } log = { version = "0.4.17" }