Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
name: CI
on:
pull_request:
branches: [ main ]
branches: [main]
push:
branches: [ main ]
branches: [main]

# Concurrency strategy:
# github.workflow: distinguish this workflow from others
Expand Down Expand Up @@ -52,6 +52,8 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: typos-cli,taplo-cli,hawkeye
- name: Check lockfile
run: cargo update -w --locked --verbose
Comment thread
tisonkun marked this conversation as resolved.
- name: Check linters
run: cargo x lint
- name: Check feature matrix
Expand All @@ -75,23 +77,25 @@ jobs:
needs: msrv
strategy:
matrix:
os: [ ubuntu-24.04, macos-14, windows-2022 ]
os: [ubuntu-24.04, macos-14, windows-2022]
rust-version: ${{ fromJson(needs.msrv.outputs.rust-versions) }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Delete rust-toolchain.toml
run: rm rust-toolchain.toml
- uses: Swatinem/rust-cache@v2
- name: Install toolchain
run: |
rustup toolchain install ${{ matrix.rust-version }}
rustup default ${{ matrix.rust-version }}
- uses: Swatinem/rust-cache@v2
with:
cache-bin: "false"
- name: Setup Java
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
java-version: "25"
distribution: "temurin"
- name: Prepare test data
shell: bash
run: ./tools/generate_serialization_test_data.py
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.