2121 strategy :
2222 matrix :
2323 rust_version : [1.67, stable]
24- runs-on : ubuntu-20 .04
24+ runs-on : ubuntu-24 .04
2525
2626 steps :
2727 - uses : actions/checkout@v4
@@ -36,16 +36,23 @@ jobs:
3636 run : rustup default ${{ matrix.rust_version }}
3737 - name : print rustc version
3838 run : rustc --version
39- - name : downgrade `serde_bytes` crate to support older Rust toolchain
39+ - name : downgrade `serde_bytes`, `toml_edit`, and `toml_parser` crates to support older Rust toolchain
4040 if : matrix.rust_version == '1.67'
4141 run : |
4242 cargo update -p serde_bytes --precise 0.11.16
43+ cargo update -p toml_edit --precise 0.23.5
44+ cargo update -p toml_parser --precise 1.0.2
45+ cargo update -p toml_datetime --precise 0.7.1
46+ cargo update -p indexmap@2.12.0 --precise 2.11.4
47+ cargo update -p syn@2.0.110 --precise 2.0.106
48+ cargo update -p quote --precise 1.0.41
49+ cargo update -p time --precise 0.3.41
4350 - name : Run tests
4451 run : ./.github/test.sh
4552
4653 # remove this job when https://github.com/rust-lang/rust/issues/89554 stabilizes
4754 test_exhaustive_checks :
48- runs-on : ubuntu-20 .04
55+ runs-on : ubuntu-24 .04
4956 steps :
5057 - uses : actions/checkout@v4
5158 - name : Install nightly for exhaustive check tests
@@ -58,15 +65,15 @@ jobs:
5865 run : RUSTFLAGS="-A unused_imports -D warnings" cargo check --workspace --features force_exhaustive_checks
5966
6067 clippy :
61- runs-on : ubuntu-20 .04
68+ runs-on : ubuntu-24 .04
6269
6370 steps :
6471 - uses : actions/checkout@v4
6572 - name : Run clippy
6673 run : cargo clippy --features unstable__schema --benches -- -D clippy::all
6774
6875 cargo-fmt :
69- runs-on : ubuntu-20 .04
76+ runs-on : ubuntu-24 .04
7077
7178 steps :
7279 - uses : actions/checkout@v4
7784 # won't look as expected, when rendered, and sometimes errors, which will prevent doc from being
7885 # generated at release time altogether.
7986 cargo-doc :
80- runs-on : ubuntu-20 .04
87+ runs-on : ubuntu-24 .04
8188
8289 steps :
8390 - uses : actions/checkout@v4
0 commit comments