diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b674818dd135644882be3b26c9d238342f760dbe..31f1b4d35807769a0857216001019fbfb8735fd4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ stages:
 
 variables:
   CPU_CORES: "10"
-  OCAML: "ocaml-variants.4.14.0+options ocaml-option-flambda"
+  OCAML: "ocaml-variants.5.1.1+options ocaml-option-flambda"
 
 .template: &template
   stage: build
@@ -28,10 +28,10 @@ variables:
 
 ## Build jobs
 
-build-coq.8.20.0:
+build-coq.8.20.1:
   <<: *template
   variables:
-    OPAM_PINS: "coq version 8.20.0"
+    OPAM_PINS: "coq version 8.20.1"
     DENY_WARNINGS: "1"
     MANGLE_NAMES: "1"
     # Mostly to make the lifetime logic available
@@ -40,7 +40,7 @@ build-coq.8.20.0:
 trigger-iris.timing:
   <<: *template
   variables:
-    OPAM_PINS: "coq version 8.20.0   git+https://gitlab.mpi-sws.org/$IRIS_REPO#$IRIS_REV"
+    OPAM_PINS: "coq version 8.20.1   git+https://gitlab.mpi-sws.org/$IRIS_REPO#$IRIS_REV"
   tags:
   - fp-timing
   only: