ci: Use -C
rather than -Z
for instrument-coverage. (#332)
#22
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: | |
# Triggers the workflow on push request events but only for the master branch | |
push: | |
branches: [ main ] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Toolchain setup | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt | |
- uses: actions/checkout@v4 | |
- name: Run rustfmt | |
run: cargo fmt --check |