Improve parsing of JSON messages in Slice tools #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rustfmt | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
rustfmt: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 📦 Install nightly toolchain | |
run: | | |
rustup toolchain install nightly | |
rustup component add rustfmt --toolchain nightly | |
- name: 🔎 Format using rustfmt | |
working-directory: tools/slicec-cs | |
run: cargo +nightly fmt --check |