diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml
index 4f52d0e..a4ef241 100644
--- a/.github/workflows/compile-sketch.yml
+++ b/.github/workflows/compile-sketch.yml
@@ -12,7 +12,7 @@ jobs:
     steps:
       # This step makes the contents of the repository available to the workflow
       - name: Checkout repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       # For more information: https://github.com/arduino/compile-sketches#readme
       - name: Compile sketch