Skip to content
Myr

ci.yml

This file

Path

.github/workflows/ci.yml

146 lines · 3.7 KiB · YAML

Last changed by

Raise minimum tested compiler to rust 1.88David Tolnaybefore adoptioncfcc279

History of this file

Take it

The walk stopped after 200 commits: lines older than 553ed38 point at it.

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 1–26why, one step back
1name: CI
23on:4 push:5 pull_request:6 workflow_dispatch:7 schedule: [cron: "40 1 * * *"]89permissions:10 contents: read1112env:13 RUSTFLAGS: -Dwarnings1415jobs:16 pre_ci:17 uses: dtolnay/.github/.github/workflows/pre_ci.yml@master1819 test:20 name: Rust ${{matrix.rust}}21 needs: pre_ci22 if: needs.pre_ci.outputs.continue23 runs-on: ubuntu-latest24 strategy:25 fail-fast: false26 matrix:

Raise minimum tested compiler to rust 1.88David Tolnaybefore adoptioncfcc279

line 27why, one step back
27 rust: [nightly, beta, stable, 1.88.0]

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 28–29why, one step back
28 timeout-minutes: 45
29 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 30why, one step back
30 - uses: actions/checkout@v7

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 31–36why, one step back
31 - uses: dtolnay/rust-toolchain@master
32 with:33 toolchain: ${{matrix.rust}}34 components: rust-src35 - name: Enable type layout randomization36 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV

Revert "Temporarily disable -Zrandomize-layout due to rustc ICE"David Tolnaybefore adoption7fc0c07

line 37why, one step back
37 if: matrix.rust == 'nightly'

Merge pull request #338 from dtolnay/nightlyciDavid Tolnaybefore adoption04774c0

lines 38–40why, one step back
38 - name: Enable nightly-only tests
39 run: echo RUSTFLAGS=${RUSTFLAGS}\ --cfg=anyhow_nightly_testing >> $GITHUB_ENV40 if: matrix.rust == 'nightly'

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 41–42why, one step back
41 - run: cargo test
42 - run: cargo check --no-default-features

Merge pull request #441 from dtolnay/backtraceDavid Tolnaybefore adoptionc8cb5ca

line 43why, one step back
43 - run: cargo check

Update actions/upload-artifact@v6 -> v7David Tolnaybefore adoption917a169

line 44why, one step back
44 - uses: actions/upload-artifact@v7

Upload CI Cargo.lock for reproducing failuresDavid Tolnaybefore adoptionc378a2c

lines 45–48why, one step back
45 if: matrix.rust == 'nightly' && always()
46 with:47 name: Cargo.lock48 path: Cargo.lock

Prevent upload-artifact from causing CI failureDavid Tolnaybefore adoption8852dc3

line 49why, one step back
49 continue-on-error: true

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 50–58why, one step back
50
51 build:52 name: Rust ${{matrix.rust}}53 needs: pre_ci54 if: needs.pre_ci.outputs.continue55 runs-on: ubuntu-latest56 strategy:57 fail-fast: false58 matrix:

Merge pull request #436 from dtolnay/upDavid Tolnaybefore adoption67df012

line 59why, one step back
59 rust: [1.68.0]

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 60–61why, one step back
60 timeout-minutes: 45
61 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 62why, one step back
62 - uses: actions/checkout@v7

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 63–66why, one step back
63 - uses: dtolnay/rust-toolchain@master
64 with:65 toolchain: ${{matrix.rust}}66 components: rust-src

Merge pull request #391 from dtolnay/thiserrorDavid Tolnaybefore adoptionf91c247

lines 67–68why, one step back
67 - run: cargo check --manifest-path tests/crate/Cargo.toml
68 - run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

line 69why, one step back
69

Add CI job using minimal-versionsDavid Tolnaybefore adoption24d9166

lines 70–76why, one step back
70 minimal:
71 name: Minimal versions72 needs: pre_ci73 if: needs.pre_ci.outputs.continue74 runs-on: ubuntu-latest75 timeout-minutes: 4576 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 77why, one step back
77 - uses: actions/checkout@v7

Add CI job using minimal-versionsDavid Tolnaybefore adoption24d9166

lines 78–79why, one step back
78 - uses: dtolnay/rust-toolchain@nightly
79 - run: cargo generate-lockfile -Z minimal-versions

Merge pull request #441 from dtolnay/backtraceDavid Tolnaybefore adoptionc8cb5ca

line 80why, one step back
80 - run: cargo check --locked

Add CI job using minimal-versionsDavid Tolnaybefore adoption24d9166

line 81why, one step back
81

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 82–88why, one step back
82 windows:
83 name: Windows84 needs: pre_ci85 if: needs.pre_ci.outputs.continue86 runs-on: windows-latest87 timeout-minutes: 4588 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 89why, one step back
89 - uses: actions/checkout@v7

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 90–92why, one step back
90 - uses: dtolnay/rust-toolchain@stable
91 with:92 components: rust-src

Merge pull request #441 from dtolnay/backtraceDavid Tolnaybefore adoptionc8cb5ca

line 93why, one step back
93 - run: cargo check

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

line 94why, one step back
94

Test docs.rs documentation build in CIDavid Tolnaybefore adoption4fa56b6

lines 95–103why, one step back
95 doc:
96 name: Documentation97 needs: pre_ci98 if: needs.pre_ci.outputs.continue99 runs-on: ubuntu-latest100 timeout-minutes: 45101 env:102 RUSTDOCFLAGS: -Dwarnings103 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 104why, one step back
104 - uses: actions/checkout@v7

Test docs.rs documentation build in CIDavid Tolnaybefore adoption4fa56b6

lines 105–110why, one step back
105 - uses: dtolnay/rust-toolchain@nightly
106 with:107 components: rust-src108 - uses: dtolnay/install@cargo-docs-rs109 - run: cargo docs-rs110

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 111–116why, one step back
111 clippy:
112 name: Clippy113 runs-on: ubuntu-latest114 if: github.event_name != 'pull_request'115 timeout-minutes: 45116 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 117why, one step back
117 - uses: actions/checkout@v7

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 118–129why, one step back
118 - uses: dtolnay/rust-toolchain@nightly
119 with:120 components: clippy, rust-src121 - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic122123 miri:124 name: Miri125 needs: pre_ci126 if: needs.pre_ci.outputs.continue127 runs-on: ubuntu-latest128 timeout-minutes: 45129 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 130why, one step back
130 - uses: actions/checkout@v7

Unpin CI miri toolchainDavid Tolnaybefore adoptiond5bb36e

line 131why, one step back
131 - uses: dtolnay/rust-toolchain@miri

Show error details during miri setup in CIDavid Tolnaybefore adoption6046674

line 132why, one step back
132 - run: cargo miri setup

Revert "Temporarily disable miri on doctests"David Tolnaybefore adoptionbebc7a2

line 133why, one step back
133 - run: cargo miri test

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 134–142why, one step back
134 env:
135 MIRIFLAGS: -Zmiri-strict-provenance136137 outdated:138 name: Outdated139 runs-on: ubuntu-latest140 if: github.event_name != 'pull_request'141 timeout-minutes: 45142 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiond9dc3fa

line 143why, one step back
143 - uses: actions/checkout@v7

Explicitly install a Rust toolchain for cargo-outdated jobDavid Tolnaybefore adoption028cbee

line 144why, one step back
144 - uses: dtolnay/rust-toolchain@stable

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 145–146why, one step back
145 - uses: dtolnay/install@cargo-outdated
146 - run: cargo outdated --workspace --exit-code 1