sdl12-compat: update CI:

From f94a1ec0069266e40843138d0c5dd2fc6d43734c Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 26 Jul 2023 20:56:32 +0300
Subject: [PATCH] update CI:

- update ubuntu from 20.04 to latest.
- checkout SDL2 from the SDL2 branch, instead of release-2.0.18.
- update actions/checkout to v3.
---
 .github/workflows/main.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1552ec640..2c1267e31 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -10,7 +10,7 @@ jobs:
       matrix:
         platform:
         - { name: Windows, os: windows-latest }
-        - { name: Linux,   os: ubuntu-20.04, flags: -GNinja }
+        - { name: Linux,   os: ubuntu-latest, flags: -GNinja }
         - { name: MacOS,   os: macos-latest }
     steps:
     - name: Setup Linux dependencies
@@ -19,14 +19,15 @@ jobs:
         sudo apt-get update
         sudo apt-get install cmake ninja-build libgl1-mesa-dev libglu1-mesa-dev
     - name: Get sdl12-compat sources
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
     - name: Get SDL2 headers
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
       with:
         repository: libsdl-org/SDL
-        ref: release-2.0.18
+        ref: SDL2
         path: SDL2
     - name: Configure CMake
       run: cmake -DSDL2_INCLUDE_DIR="${{ github.workspace }}/SDL2/include" -B build ${{ matrix.platform.flags }}
     - name: Build
       run: cmake --build build/
+