diff options
author | 2020-03-21 05:36:51 +0100 | |
---|---|---|
committer | 2020-03-21 05:36:51 +0100 | |
commit | e9ac53bb9a64682c4c32f86cf2ec674e2a609e19 (patch) | |
tree | 9cefa0b50af2e0e215b0e4465792bb4119bb4c95 /.github | |
parent | 99a6f8dbc6f9f50f799906c8104dfff961469fd0 (diff) | |
download | iced-e9ac53bb9a64682c4c32f86cf2ec674e2a609e19.tar.gz iced-e9ac53bb9a64682c4c32f86cf2ec674e2a609e19.tar.bz2 iced-e9ac53bb9a64682c4c32f86cf2ec674e2a609e19.zip |
Add workflow to check format in CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/format.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 00000000..55bc79d9 --- /dev/null +++ b/.github/workflows/format.yml @@ -0,0 +1,12 @@ +name: Format +on: [push, pull_request] +jobs: + native: + runs-on: ubuntu-latest + steps: + - uses: hecrj/setup-rust-action@v1 + with: + components: rustfmt + - uses: actions/checkout@master + - name: Check format + run: cargo fmt --all -- --check |