aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Daniel Egger <daniel@eggers-club.de> 2020-05-19 19:46:50 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-19 19:46:50 +0200
commitad47e7ff107ed0a9ef203eba8c86e2b0d8d4d2ed (patch)
tree30e0b9e9e8eb76922b1db1fc392b1a7fecec8a5b
parentb58f280f8b5e7e8b4a1ebde18f65f2e5bbc58b4f (diff)
downloadcortex-m-ad47e7ff107ed0a9ef203eba8c86e2b0d8d4d2ed.tar.gz
cortex-m-ad47e7ff107ed0a9ef203eba8c86e2b0d8d4d2ed.tar.zst
cortex-m-ad47e7ff107ed0a9ef203eba8c86e2b0d8d4d2ed.zip
Create clippy.yml
Diffstat (limited to '')
-rw-r--r--cortex-m-rt/.github/workflows/clippy.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/cortex-m-rt/.github/workflows/clippy.yml b/cortex-m-rt/.github/workflows/clippy.yml
new file mode 100644
index 0000000..1818faf
--- /dev/null
+++ b/cortex-m-rt/.github/workflows/clippy.yml
@@ -0,0 +1,17 @@
+on: [push, pull_request]
+
+name: Clippy check
+jobs:
+ clippy_check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ override: true
+ components: clippy
+ - uses: actions-rs/clippy-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}