From 58cb4849d3652ae583dae5813a9015ff0c3959b3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 26 Jul 2023 09:09:57 +0200 Subject: [PATCH 1/3] move nightly cron job a little earlier --- src/tools/miri/.github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml index 452677d91465..462c921d722e 100644 --- a/src/tools/miri/.github/workflows/ci.yml +++ b/src/tools/miri/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: branches: - 'master' schedule: - - cron: '6 6 * * *' # At 6:06 UTC every day. + - cron: '11 5 * * *' # At 5:11 UTC every day. env: CARGO_UNSTABLE_SPARSE_REGISTRY: 'true' From b452f50317bbea8cf6eb7d9af2d8873329244cd3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 26 Jul 2023 09:10:50 +0200 Subject: [PATCH 2/3] sparse registry has been stable for a bit now --- src/tools/miri/.github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml index 462c921d722e..f4ad966236c6 100644 --- a/src/tools/miri/.github/workflows/ci.yml +++ b/src/tools/miri/.github/workflows/ci.yml @@ -12,9 +12,6 @@ on: schedule: - cron: '11 5 * * *' # At 5:11 UTC every day. -env: - CARGO_UNSTABLE_SPARSE_REGISTRY: 'true' - defaults: run: shell: bash From d81ab0d917c83f76e6f436ab8308a0249f9b9ba0 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 26 Jul 2023 09:11:25 +0200 Subject: [PATCH 3/3] move CI var uses after their declaration --- src/tools/miri/.github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml index f4ad966236c6..042bb9bbd2ca 100644 --- a/src/tools/miri/.github/workflows/ci.yml +++ b/src/tools/miri/.github/workflows/ci.yml @@ -18,10 +18,6 @@ defaults: jobs: build: - runs-on: ${{ matrix.os }} - env: - RUST_BACKTRACE: 1 - HOST_TARGET: ${{ matrix.host_target }} strategy: fail-fast: false matrix: @@ -32,6 +28,10 @@ jobs: host_target: x86_64-apple-darwin - os: windows-latest host_target: i686-pc-windows-msvc + runs-on: ${{ matrix.os }} + env: + RUST_BACKTRACE: 1 + HOST_TARGET: ${{ matrix.host_target }} steps: - uses: actions/checkout@v3