ci.yml
This file
Path
.github/workflows/ci.yml
179 lines · 5.6 KiB · YAML
Last changed by
Merge pull request #3085 from dtolnay/syn3David Tolnaybefore adoption6d6e9a1
History of this fileTake it
The walk stopped after 200 commits: lines older than 3761854 point at it.
Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 1–20why, one step back1name: CI23on:4 push:5 pull_request:6 workflow_dispatch:7 schedule: [cron: "40 1 * * *"]89permissions:10 contents: read1112env:13 RUSTFLAGS: -Dwarnings1415jobs:16 test:17 name: Test suite18 runs-on: ubuntu-latest19 timeout-minutes: 4520 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 21why, one step back21 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 22–23why, one step back22 - uses: dtolnay/rust-toolchain@nightly23 - run: cd test_suite && cargo test --features unstableUpdate actions/upload-artifact@v6 -> v7David Tolnaybefore adoption1023d07
line 24why, one step back24 - uses: actions/upload-artifact@v7Upload CI Cargo.lock for reproducing failuresDavid Tolnaybefore adoption3aca38d
lines 25–28why, one step back25 if: always()26 with:27 name: Cargo.lock28 path: Cargo.lockPrevent upload-artifact step from causing CI failureDavid Tolnaybefore adoption60ac737
line 29why, one step back29 continue-on-error: trueMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 30–35why, one step back3031 windows:32 name: Test suite (windows)33 runs-on: windows-latest34 timeout-minutes: 4535 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 36why, one step back36 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 37–48why, one step back37 - uses: dtolnay/rust-toolchain@nightly38 - run: cd test_suite && cargo test --features unstable -- --skip ui --exact3940 stable:41 name: Rust ${{matrix.rust}}42 runs-on: ubuntu-latest43 strategy:44 fail-fast: false45 matrix:46 rust: [stable, beta]47 timeout-minutes: 4548 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 49why, one step back49 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 50–54why, one step back50 - uses: dtolnay/rust-toolchain@master51 with:52 toolchain: ${{matrix.rust}}53 - run: cd serde && cargo build --features rc54 - run: cd serde && cargo build --no-default-featuresMerge pull request #2872 from dtolnay/ehpersonalityDavid Tolnaybefore adoption2a5caea
line 55why, one step back55 - run: cd test_suite/no_std && cargo buildMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 56–57why, one step back5657 nightly:Merge pull request #2913 from dtolnay/nightlywindowsDavid Tolnaybefore adoptionb426ff8
line 58why, one step back58 name: Rust nightly${{matrix.os == 'windows' && ' (windows)' || ''}}Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 59–65why, one step back59 runs-on: ${{matrix.os}}-latest60 strategy:61 fail-fast: false62 matrix:63 os: [ubuntu, windows]64 timeout-minutes: 4565 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 66why, one step back66 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 67–72why, one step back67 - uses: dtolnay/rust-toolchain@nightly68 - run: cd serde && cargo build69 - run: cd serde && cargo build --no-default-features70 - run: cd serde && cargo build --no-default-features --features alloc71 - run: cd serde && cargo build --no-default-features --features rc,alloc72 - run: cd serde && cargo build --no-default-features --features unstableMerge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60
line 73why, one step back73 - run: cd serde_core && cargo test --features rc,unstableMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 74–86why, one step back74 - run: cd test_suite/no_std && cargo build75 if: matrix.os != 'windows'76 - run: cd serde_derive && cargo check --tests77 env:78 RUSTFLAGS: --cfg exhaustive ${{env.RUSTFLAGS}}79 if: matrix.os != 'windows'8081 build:82 name: Rust ${{matrix.rust}}83 runs-on: ubuntu-latest84 strategy:85 fail-fast: false86 matrix:Merge pull request #2901 from serde-rs/msrv-and-edition-bumpDavid Tolnaybefore adoptionda0b473
line 87why, one step back87 rust: [1.56.0, 1.60.0]Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 88–89why, one step back88 timeout-minutes: 4589 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 90why, one step back90 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 91–93why, one step back91 - uses: dtolnay/rust-toolchain@master92 with:93 toolchain: ${{matrix.rust}}Cut test_suite from workspace members in old toolchain CI jobsDavid Tolnaybefore adoption595019e
line 94why, one step back94 - run: sed -i '/"test_suite"/d' Cargo.tomlMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 95–96why, one step back95 - run: cd serde && cargo build --features rc96 - run: cd serde && cargo build --no-default-featuresMerge pull request #2901 from serde-rs/msrv-and-edition-bumpDavid Tolnaybefore adoptionda0b473
line 97why, one step back97 - run: cd serde && cargo build --no-default-features --features allocMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 98–100why, one step back98 - run: cd serde && cargo build99100 derive:Raise required compiler for serde_derive to Rust 1.71David Tolnaybefore adoption681270e
line 101why, one step back101 name: Rust 1.71.0Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 102–104why, one step back102 runs-on: ubuntu-latest103 timeout-minutes: 45104 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 105why, one step back105 - uses: actions/checkout@v7Raise required compiler for serde_derive to Rust 1.71David Tolnaybefore adoption681270e
line 106why, one step back106 - uses: dtolnay/rust-toolchain@1.71.0Raise required compiler for serde_derive to 1.61David Tolnaybefore adoption991e344
lines 107–109why, one step back107 - run: |108 sed -i 's/proc-macro2 = { workspace = true/proc-macro2 = { version = "1"/' serde_derive*/Cargo.toml109 sed -i 's/quote = { workspace = true/quote = { version = "1"/' serde_derive*/Cargo.tomlMerge pull request #3085 from dtolnay/syn3David Tolnaybefore adoption6d6e9a1
line 110why, one step back110 sed -i 's/syn = { workspace = true/syn = { version = "3"/' serde_derive*/Cargo.tomlMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 111–119why, one step back111 - run: cd serde && cargo check --no-default-features112 - run: cd serde && cargo check113 - run: cd serde_derive && cargo check114115 minimal:116 name: Minimal versions117 runs-on: ubuntu-latest118 timeout-minutes: 45119 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 120why, one step back120 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 121–131why, one step back121 - uses: dtolnay/rust-toolchain@nightly122 - run: cargo generate-lockfile -Z minimal-versions123 - run: cargo check --locked --workspace124125 doc:126 name: Documentation127 runs-on: ubuntu-latest128 timeout-minutes: 45129 env:130 RUSTDOCFLAGS: -Dwarnings131 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 132why, one step back132 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 133–135why, one step back133 - uses: dtolnay/rust-toolchain@nightly134 - uses: dtolnay/install@cargo-docs-rs135 - run: cargo docs-rs -p serdeMerge pull request #2991 from dtolnay/inlinecoredocDavid Tolnaybefore adoption7c58427
line 136why, one step back136 - run: cargo docs-rs -p serde_coreMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 137–145why, one step back137 - run: cargo docs-rs -p serde_derive138 - run: cargo docs-rs -p serde_derive_internals139140 clippy:141 name: Clippy142 runs-on: ubuntu-latest143 if: github.event_name != 'pull_request'144 timeout-minutes: 45145 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 146why, one step back146 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 147–148why, one step back147 - uses: dtolnay/rust-toolchain@clippy148 - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedanticMerge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60
line 149why, one step back149 - run: cd serde_core && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedanticMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 150–159why, one step back150 - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic151 - run: cd serde_derive_internals && cargo clippy -- -Dclippy::all -Dclippy::pedantic152 - run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedantic153 - run: cd test_suite/no_std && cargo clippy -- -Dclippy::all -Dclippy::pedantic154155 miri:156 name: Miri157 runs-on: ubuntu-latest158 timeout-minutes: 45159 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 160why, one step back160 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 161–162why, one step back161 - uses: dtolnay/rust-toolchain@miri162 - run: cargo miri setupMerge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60
line 163why, one step back163 - run: cd serde_core && cargo miri test --features rc,unstableMerge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 164–175why, one step back164 env:165 MIRIFLAGS: -Zmiri-strict-provenance166 - run: cd test_suite && cargo miri test --features unstable167 env:168 MIRIFLAGS: -Zmiri-strict-provenance169170 outdated:171 name: Outdated172 runs-on: ubuntu-latest173 if: github.event_name != 'pull_request'174 timeout-minutes: 45175 steps:Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2
line 176why, one step back176 - uses: actions/checkout@v7Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 177–179why, one step back177 - uses: dtolnay/rust-toolchain@stable178 - uses: dtolnay/install@cargo-outdated179 - run: cargo outdated --workspace --exit-code 1