From 204f37180006ac2847aa291740ebceecb3d9b8d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20S=C3=A1nchez?= <davidslt+git@pm.me>
Date: Mon, 20 May 2024 17:12:22 +0100
Subject: [PATCH] ci: depend on successful checks

---
 .github/workflows/tests.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index d960e89..037b916 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -29,6 +29,7 @@ jobs:
         run: nix build
 
   default-ghc:
+    needs: [checks]
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -47,6 +48,7 @@ jobs:
 
 
   ghc-94:
+    needs: [checks]
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -65,6 +67,7 @@ jobs:
 
 
   ghc-98:
+    needs: [checks]
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -82,6 +85,7 @@ jobs:
         run: nix build ".#richenv-ghc98"
 
   ghc-910:
+    needs: [checks]
     runs-on: ${{ matrix.os }}
     strategy:
       matrix: