sdl2-compat: update CI:

From 918d8fb4b379faf1b0f2a1a7094db8cbdf8f7e90 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.
- update actions/checkout to v3.
---
 .github/workflows/main.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9b79bfb..ddf699b 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,9 +19,9 @@ jobs:
         sudo apt-get update
         sudo apt-get install cmake ninja-build libgl1-mesa-dev libglu1-mesa-dev
     - name: Get sdl2-compat sources
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
     - name: Get SDL3 headers
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
       with:
         repository: libsdl-org/SDL
         ref: main
@@ -30,3 +30,4 @@ jobs:
       run: cmake -DSDL3_INCLUDE_DIRS="${{ github.workspace }}/SDL3/include" -B build ${{ matrix.platform.flags }}
     - name: Build
       run: cmake --build build/
+