summaryrefslogtreecommitdiffstats
path: root/.github/workflows/rustfmt.yml
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-12-01 08:18:35 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2020-12-01 08:18:35 +0100
commit3d3cafc6609056e998e39352e86d19d8a6b08041 (patch)
tree3b14857aaff978538f636a397833993ee6d6df76 /.github/workflows/rustfmt.yml
parent2a0cd296790cd8c4b8e58c1dd8a24301a1a8e3f2 (diff)
downloadads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.gz
ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.xz
ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.zip
Use GitHub Actions instead of Travis for CI
Diffstat (limited to '.github/workflows/rustfmt.yml')
-rw-r--r--.github/workflows/rustfmt.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml
new file mode 100644
index 0000000..824c299
--- /dev/null
+++ b/.github/workflows/rustfmt.yml
@@ -0,0 +1,19 @@
+on: [push, pull_request]
+
+name: Code formatting check
+
+jobs:
+ fmt:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ override: true
+ components: rustfmt
+ - uses: actions-rs/cargo@v1
+ with:
+ command: fmt
+ args: --all -- --check