diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bdfd2c..9116641 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ env: CARGO_TERM_COLOR: always CARGO_BUILD_WARNINGS: deny RUST_BACKTRACE: full + SCCACHE_GHA_ENABLED: "true" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} @@ -112,10 +113,10 @@ jobs: with: persist-credentials: false - - name: Install stable Rust toolchain + - name: Install nightly Rust toolchain uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: - toolchain: stable + toolchain: nightly - name: Install sccache uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11 diff --git a/Makefile b/Makefile index 87d0a1a..6fd7d57 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ test-unit: ## Run deterministic unit and integration tests. .PHONY: test-doc test-doc: ## Run doc tests. - cargo test \ + cargo +nightly test \ --doc \ --workspace \ --all-features \