ci: use actions/checkout@v4

To suppress the following warning in github actions:

Node.js 16 actions are deprecated. Please update the following actions to
use Node.js 20: actions/checkout@v3. For more information see:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index db3a6ef..0765488 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@
         dnf -y install meson gobject-introspection-devel systemd-devel
         dnf -y install gi-docgen python3-gobject
     - name: Checkout repository.
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
     - name: Create gi-docgen.wrap in subproject directory
       run: |
         mkdir subprojects
@@ -62,7 +62,7 @@
         DEBIAN_FRONTEND=noninteractive apt-get install -y meson ninja-build libglib2.0-dev gobject-introspection libgirepository1.0-dev
         DEBIAN_FRONTEND=noninteractive apt-get install -y gi-docgen python3-gi
     - name: Checkout repository.
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
     - name: Create gi-docgen.wrap in subproject directory
       run: |
         mkdir subprojects