diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e38d473..4c93c25 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,9 +8,13 @@ on: paths-ignore: - '**.md' +permissions: + checks: write + pull-requests: write + env: CARGO_INCREMENTAL: 0 - RUSTFLAGS: -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off + RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort RUSTDOCFLAGS: -Cpanic=abort jobs: @@ -26,7 +30,7 @@ jobs: with: profile: minimal override: true - toolchain: stable + toolchain: nightly - name: Cache dependencies uses: Swatinem/rust-cache@v1 @@ -37,7 +41,7 @@ jobs: - name: Test run: | cargo install cargo2junit grcov rust-covfix; - cargo test $CARGO_OPTIONS -- --format json | cargo2junit > results.xml; + cargo test $CARGO_OPTIONS -- -Z unstable-options --format json | cargo2junit > results.xml; - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action@v2