Skip to content

Commit 9a80c60

Browse files
authored
chore: ensure lockfile up-to-date (#126)
Signed-off-by: tison <wander4096@gmail.com>
1 parent 4ea1f15 commit 9a80c60

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
name: CI
1919
on:
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
@@ -52,6 +52,8 @@ jobs:
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

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)