aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 }}