diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 592af2bb38e1478f987c363b5132b205e5fef930..2dc7c3136d8ad5a34dac7a1cee44403347b39a86 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,10 +9,10 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
-      - name: Set up JDK 1.8
+      - name: Set up JDK @v1
         uses: actions/setup-java@v1
         with:
-          java-version: 1.8
+          java-version: 21
       - name: Compile
         run: sbt compile
       - name: Run tests