Set SLICEC_CS_STAGING_PATH for build-packages job #166
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: ["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 |