diff options
author | 2020-03-22 09:09:07 +0100 | |
---|---|---|
committer | 2020-03-22 09:09:07 +0100 | |
commit | 092e9fb4cc3edcf2083b4464d24d50c82a1163d2 (patch) | |
tree | 470a6f7a2f79046ae0482b4f86827aa20d83fd9c /.github | |
parent | 99a6f8dbc6f9f50f799906c8104dfff961469fd0 (diff) | |
parent | b2242c571fe2e809e4f471bdac500e21dd6584e9 (diff) | |
download | iced-092e9fb4cc3edcf2083b4464d24d50c82a1163d2.tar.gz iced-092e9fb4cc3edcf2083b4464d24d50c82a1163d2.tar.bz2 iced-092e9fb4cc3edcf2083b4464d24d50c82a1163d2.zip |
Merge pull request #229 from hecrj/improvement/ci-check-format
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..92caff79 --- /dev/null +++ b/.github/workflows/format.yml @@ -0,0 +1,12 @@ +name: Format +on: [push, pull_request] +jobs: + all: + 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 |