fork/wezterm

git clone https://git.julia.blue/fork/wezterm

Jalil SalaméCi toolchain: Do not use actions-rs/toolchain (#3327)1535d8829

termwiz-0.23.1
585 B32 linesraw
1name: fmt
2
3on:
4  pull_request:
5    branches:
6      - main
7    paths:
8      - "**/*.rs"
9      - ".github/workflows/fmt.yml"
10  push:
11    branches:
12      - main
13    paths:
14      - "**/*.rs"
15      - ".github/workflows/fmt.yml"
16
17jobs:
18  check-code-formatting:
19    runs-on: ubuntu-latest
20    steps:
21      - name: Checkout
22        uses: actions/checkout@v3
23      - name: "Install Rust"
24        uses: dtolnay/rust-toolchain@nightly
25        with:
26          components: rustfmt
27      - name: Build
28        run: |
29          source $HOME/.cargo/env
30          cargo +nightly fmt --all -- --check
31
32