SDL_rtf: ci: setup ninja through aseprite/get-ninja action

From da791fa66b6e64e32c1a947bb432b877e4df919e Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 1 May 2024 22:23:15 +0200
Subject: [PATCH] ci: setup ninja through aseprite/get-ninja action

---
 .github/workflows/main.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d435dd3..2f5d741 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -29,9 +29,7 @@ jobs:
         arch: x64
     - name: Set up Ninja
       if: ${{ !contains(matrix.platform.shell, 'msys2') }}
-      uses: ashutoshvarma/setup-ninja@master
-      with:
-        version: 1.11.1
+      uses: aseprite/get-ninja@main
     - name: Set up MSYS2
       if: ${{ matrix.platform.shell == 'msys2 {0}' }}
       uses: msys2/setup-msys2@v2
@@ -61,7 +59,6 @@ jobs:
           brew install \
             freetype \
             harfbuzz \
-            ninja \
             pkg-config \
             ${NULL+}
     - name: Set up Linux dependencies
@@ -74,7 +71,6 @@ jobs:
           fonts-dejavu-core \
           libfreetype-dev \
           libharfbuzz-dev \
-          ninja-build \
           pkg-config \
           ${NULL+}
     - uses: actions/checkout@v3