diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 018930ede..ef222ad21 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -21,7 +21,7 @@ env: NPM_CONFIG_FUND: false jobs: - nightly: + autofix: runs-on: ubuntu-latest timeout-minutes: 10 steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbf153eae..c41400a10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ concurrency: env: CARGO_TERM_COLOR: always DRY_RUN: ${{ startsWith(github.event.ref, 'refs/tags/v') && '0' || '1' }} + RUST_BACKTRACE: 1 jobs: build-tarball: @@ -57,10 +58,6 @@ jobs: name: macos-arm64 target: aarch64-apple-darwin runs-on: macos-14 - # - os: windows - # name: windows-x64 - # target: x86_64-pc-windows-gnu - # runs-on: ubuntu-latest steps: - if: matrix.os == 'macos' uses: apple-actions/import-codesign-certs@v3 @@ -113,6 +110,9 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup target add ${{matrix.target}} + - uses: Swatinem/rust-cache@v2 + with: + key: ${{matrix.arch}} - name: cache crates id: cache-crates uses: actions/cache@v4 @@ -162,7 +162,6 @@ jobs: uses: nick-fields/retry@v3 env: GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RUST_BACKTRACE: 1 TEST_TRANCHE: ${{matrix.tranche}} TEST_TRANCHE_COUNT: 4 TEST_ALL: 1 diff --git a/tasks/test/coverage b/tasks/test/coverage index bce5dda1a..a5660f64e 100755 --- a/tasks/test/coverage +++ b/tasks/test/coverage @@ -14,7 +14,10 @@ export PATH="${CARGO_TARGET_DIR}/debug:$PATH" echo "::group::Build w/ coverage" cargo build -q --all-features echo "::endgroup::" -./e2e/run_all_tests +echo "::group::mise install" +mise install +echo "::endgroup::" +mise x -- ./e2e/run_all_tests if [[ "${TEST_TRANCHE:-}" == 0 ]]; then echo "::group::Implode" mise implode