1818name : CI
1919on :
2020 pull_request :
21- branches : [ main ]
21+ branches : [main]
2222 push :
23- branches : [ main ]
23+ branches : [main]
2424
2525# Concurrency strategy:
2626# github.workflow: distinguish this workflow from others
5252 - uses : taiki-e/install-action@v2
5353 with :
5454 tool : typos-cli,taplo-cli,hawkeye
55+ - name : Check lockfile
56+ run : cargo update -w --locked --verbose
5557 - name : Check linters
5658 run : cargo x lint
5759 - name : Check feature matrix
@@ -75,23 +77,25 @@ jobs:
7577 needs : msrv
7678 strategy :
7779 matrix :
78- os : [ ubuntu-24.04, macos-14, windows-2022 ]
80+ os : [ubuntu-24.04, macos-14, windows-2022]
7981 rust-version : ${{ fromJson(needs.msrv.outputs.rust-versions) }}
8082 runs-on : ${{ matrix.os }}
8183 steps :
8284 - uses : actions/checkout@v6
8385 - name : Delete rust-toolchain.toml
8486 run : rm rust-toolchain.toml
85- - uses : Swatinem/rust-cache@v2
8687 - name : Install toolchain
8788 run : |
8889 rustup toolchain install ${{ matrix.rust-version }}
8990 rustup default ${{ matrix.rust-version }}
91+ - uses : Swatinem/rust-cache@v2
92+ with :
93+ cache-bin : " false"
9094 - name : Setup Java
9195 uses : actions/setup-java@v5
9296 with :
93- java-version : ' 25 '
94- distribution : ' temurin'
97+ java-version : " 25 "
98+ distribution : " temurin"
9599 - name : Prepare test data
96100 shell : bash
97101 run : ./tools/generate_serialization_test_data.py
0 commit comments