diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d2bb62cab19276bdd5692058bd694d6ef0a884a..3d1206d523b2f08c9df8b30d2dbb5205cd37c5af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,5 @@
 stages:
+ - linting
  - test
  - deploy
 
@@ -112,6 +113,13 @@ run-vhdl-tests:
       - cd b_asic/codegen/testbench
       - python test.py
 
+ruff:
+  stage: linting
+  image: registry.gitlab.com/pipeline-components/ruff:latest
+  before_script: []
+  script:
+    - ruff --format=gitlab .
+
 run-doc-test:
   variables:
     QT_API: pyside2