chore(deps): Update syn v1 to syn v2 #2
Workflow file for this run
This file contains hidden or 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: Default | |
| on: [push, pull_request] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| rustfmt: | |
| name: rustfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout_repository | |
| uses: actions/checkout@v1 | |
| with: | |
| fetch-depth: 1 | |
| - name: install_rust | |
| uses: hecrj/setup-rust-action@v1 | |
| with: | |
| rust-version: stable | |
| - name: install_rustfmt | |
| run: rustup component add rustfmt | |
| - name: Check formatting | |
| run: | | |
| cargo fmt -- --check |