SDL: ci: do 'brew update' & don't run dependent checks on installed things

From c4ca64deaf556ad298cdd4f226ba838dec7ffb0b Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sun, 26 Nov 2023 02:02:10 +0100
Subject: [PATCH] ci: do 'brew update' & don't run dependent checks on
 installed things

---
 .github/workflows/main.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 46d2b1e87e76..9cfb6a845b0b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -66,6 +66,8 @@ jobs:
     - name: Setup Macos dependencies
       if: runner.os == 'macOS'
       run: |
+        export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
+        brew update
         brew install \
           ninja \
           pkg-config \