sdl2-compat: ci: bump actions/checkout and actions/upload-artifact to v4

From 1dd5232676984c80df0db2cf4776fde49e1510c3 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 20 Sep 2024 18:23:32 +0200
Subject: [PATCH] ci: bump actions/checkout and actions/upload-artifact to v4

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

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1655aa33..68026c87 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -52,7 +52,7 @@ jobs:
           ${{ matrix.platform.msys-env }}-crt
           ${{ matrix.platform.msys-env }}-ninja
     - name: Get sdl2-compat sources
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: Install Ninja
       if: ${{ !contains(matrix.platform.shell, 'msys2') }}
       uses: aseprite/get-ninja@main
@@ -145,7 +145,7 @@ jobs:
       run: |
         export PKG_CONFIG_PATH=${{ env.SDL2_ROOT }}/lib/pkgconfig
         cmake/test/test_pkgconfig.sh ${{ !matrix.platform.static && '--no-static' }}
-    - uses: actions/upload-artifact@v3
+    - uses: actions/upload-artifact@v4
       if: ${{ always() && steps.build.outcome == 'success' }}
       with:
         if-no-files-found: error