diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 60de738d6347e21e15709e2969f57780a4290322..3dabfe80e04ba3fd6b35852b9cacba7b338f23a8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,17 @@ stages:
   - build
   - deploy
 
+clippy:
+  image: "rust:latest"
+  stage: test
+  tags:
+    - docker-amd64
+  before_script:
+    - apt-get update && apt-get install -y --no-install-recommends libudev-dev
+    - rustup component add clippy
+  script:
+    - cargo clippy --all-targets --all-features --no-deps
+
 test:
   image: "rust:latest"
   stage: test