diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 558b888..6a26fbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ concurrency: jobs: read_msrv: name: Read MSRV - uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@d3d2883c667da4f83d8af52be9f236ea3fcdd82c # v0.1.3 + uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@983d9d27da8fe8aaa47732160b7a14805004d4b2 # v0.1.3 test: needs: read_msrv @@ -39,24 +39,34 @@ jobs: with: persist-credentials: false - - name: Install Nix - uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c # v35 - - name: Install Rust (${{ matrix.toolchain.name }}) + id: rust + background: true uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0 with: toolchain: ${{ matrix.toolchain.version }} - - name: Install cargo-nextest - uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20 - with: - tool: cargo-nextest + - name: Install Nix + uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c # v35 - name: Enter Nix devshell + id: devshell + background: true uses: nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a # v1.2.1 with: arguments: .#ci + - name: Wait for Rust + wait: rust + + - name: Install cargo-nextest + uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20 + with: + tool: cargo-nextest + + - name: Wait for Nix devshell + wait: devshell + - name: Downgrade for MSRV if: matrix.toolchain.name == 'msrv' run: just downgrade-for-msrv diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 67c3a72..7227af2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,24 +21,34 @@ jobs: with: persist-credentials: false - - name: Install Nix - uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c # v35 - - name: Install Rust + id: rust + background: true uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0 with: components: llvm-tools-preview + - name: Install Nix + uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c # v35 + - name: Enter Nix devshell + id: devshell + background: true uses: nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a # v1.2.1 with: arguments: .#ci + - name: Wait for Rust + wait: rust + - name: Install cargo-llvm-cov uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20 with: tool: cargo-llvm-cov + - name: Wait for Nix devshell + wait: devshell + - name: Generate code coverage run: just test-coverage-codecov