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

**URL:** <https://discourse.libsdl.org/t/sdl-ci-do-brew-update-dont-run-dependent-checks-on-installed-things/47530>\
**Category:** SDL Commits\
**Created:** [November 26, 2023, 5:02am UTC](https://discourse.libsdl.org/t/sdl-ci-do-brew-update-dont-run-dependent-checks-on-installed-things/47530 "2023-11-26T05:02:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [November 26, 2023, 5:02am UTC](https://discourse.libsdl.org/t/sdl-ci-do-brew-update-dont-run-dependent-checks-on-installed-things/47530/1 "2023-11-26T05:02:02Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/c4ca64deaf556ad298cdd4f226ba838dec7ffb0b>

```diff
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 \

```
