Skip to content
Myr

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 file

Take 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 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 test:17 name: Test suite18 runs-on: ubuntu-latest19 timeout-minutes: 4520 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2

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

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 22–23why, one step back
22 - uses: dtolnay/rust-toolchain@nightly
23 - run: cd test_suite && cargo test --features unstable

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

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

Upload CI Cargo.lock for reproducing failuresDavid Tolnaybefore adoption3aca38d

lines 25–28why, one step back
25 if: always()
26 with:27 name: Cargo.lock28 path: Cargo.lock

Prevent upload-artifact step from causing CI failureDavid Tolnaybefore adoption60ac737

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

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 30–35why, one step back
30
31 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 back
36 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 37–48why, one step back
37 - uses: dtolnay/rust-toolchain@nightly
38 - 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 back
49 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 50–54why, one step back
50 - uses: dtolnay/rust-toolchain@master
51 with:52 toolchain: ${{matrix.rust}}53 - run: cd serde && cargo build --features rc54 - run: cd serde && cargo build --no-default-features

Merge pull request #2872 from dtolnay/ehpersonalityDavid Tolnaybefore adoption2a5caea

line 55why, one step back
55 - run: cd test_suite/no_std && cargo build

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 56–57why, one step back
56
57 nightly:

Merge pull request #2913 from dtolnay/nightlywindowsDavid Tolnaybefore adoptionb426ff8

line 58why, one step back
58 name: Rust nightly${{matrix.os == 'windows' && ' (windows)' || ''}}

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 59–65why, one step back
59 runs-on: ${{matrix.os}}-latest
60 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 back
66 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 67–72why, one step back
67 - uses: dtolnay/rust-toolchain@nightly
68 - 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 unstable

Merge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60

line 73why, one step back
73 - run: cd serde_core && cargo test --features rc,unstable

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 74–86why, one step back
74 - run: cd test_suite/no_std && cargo build
75 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 back
87 rust: [1.56.0, 1.60.0]

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 88–89why, one step back
88 timeout-minutes: 45
89 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2

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

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 91–93why, one step back
91 - uses: dtolnay/rust-toolchain@master
92 with:93 toolchain: ${{matrix.rust}}

Cut test_suite from workspace members in old toolchain CI jobsDavid Tolnaybefore adoption595019e

line 94why, one step back
94 - run: sed -i '/"test_suite"/d' Cargo.toml

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 95–96why, one step back
95 - run: cd serde && cargo build --features rc
96 - run: cd serde && cargo build --no-default-features

Merge pull request #2901 from serde-rs/msrv-and-edition-bumpDavid Tolnaybefore adoptionda0b473

line 97why, one step back
97 - run: cd serde && cargo build --no-default-features --features alloc

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 98–100why, one step back
98 - run: cd serde && cargo build
99100 derive:

Raise required compiler for serde_derive to Rust 1.71David Tolnaybefore adoption681270e

line 101why, one step back
101 name: Rust 1.71.0

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 102–104why, one step back
102 runs-on: ubuntu-latest
103 timeout-minutes: 45104 steps:

Update actions/checkout@v6 -> v7David Tolnaybefore adoptiondd682c2

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

Raise required compiler for serde_derive to Rust 1.71David Tolnaybefore adoption681270e

line 106why, one step back
106 - uses: dtolnay/rust-toolchain@1.71.0

Raise required compiler for serde_derive to 1.61David Tolnaybefore adoption991e344

lines 107–109why, one step back
107 - 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.toml

Merge pull request #3085 from dtolnay/syn3David Tolnaybefore adoption6d6e9a1

line 110why, one step back
110 sed -i 's/syn = { workspace = true/syn = { version = "3"/' serde_derive*/Cargo.toml

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 111–119why, one step back
111 - run: cd serde && cargo check --no-default-features
112 - 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 back
120 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 121–131why, one step back
121 - uses: dtolnay/rust-toolchain@nightly
122 - 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 back
132 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 133–135why, one step back
133 - uses: dtolnay/rust-toolchain@nightly
134 - uses: dtolnay/install@cargo-docs-rs135 - run: cargo docs-rs -p serde

Merge pull request #2991 from dtolnay/inlinecoredocDavid Tolnaybefore adoption7c58427

line 136why, one step back
136 - run: cargo docs-rs -p serde_core

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 137–145why, one step back
137 - run: cargo docs-rs -p serde_derive
138 - 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 back
146 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 147–148why, one step back
147 - uses: dtolnay/rust-toolchain@clippy
148 - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic

Merge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60

line 149why, one step back
149 - run: cd serde_core && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 150–159why, one step back
150 - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic
151 - 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 back
160 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 161–162why, one step back
161 - uses: dtolnay/rust-toolchain@miri
162 - run: cargo miri setup

Merge pull request #2971 from dtolnay/serdecoreciDavid Tolnaybefore adoption23dea60

line 163why, one step back
163 - run: cd serde_core && cargo miri test --features rc,unstable

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 164–175why, one step back
164 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 back
176 - uses: actions/checkout@v7

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 177–179why, one step back
177 - uses: dtolnay/rust-toolchain@stable
178 - uses: dtolnay/install@cargo-outdated179 - run: cargo outdated --workspace --exit-code 1