Skip to content

Add back macOS and Windows CI (#4101) #230

Add back macOS and Windows CI (#4101)

Add back macOS and Windows CI (#4101) #230

Workflow file for this run

name: rustfmt
on:
push:
branches: ["0.4.x"]
pull_request:
branches: ["0.4.x"]
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