From b66f02598e978934770ecb7563fdd5c83e4dd938 Mon Sep 17 00:00:00 2001
From: Vincent JARDIN <vjardin@free.fr>
Date: Wed, 20 Mar 2024 14:03:30 +0100
Subject: [PATCH] actions UPDATE CodeQL actions and checkout new version
 (#2204)

* CodeQL actions and checkout

Let's upgrade to the latest versions in order to avoid some warnings.

* Build using latest main from each Actions

Suggested-by: Michal Vasko <mvasko@cesnet.cz>
---
 .github/workflows/codeql.yml     | 8 ++++----
 .github/workflows/devel-push.yml | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 023d15975..89a4f0a27 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -22,18 +22,18 @@ jobs:
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@main
 
       - name: Initialize CodeQL
-        uses: github/codeql-action/init@v2
+        uses: github/codeql-action/init@main
         with:
           languages: ${{ matrix.language }}
           queries: +security-and-quality
 
       - name: Autobuild
-        uses: github/codeql-action/autobuild@v2
+        uses: github/codeql-action/autobuild@main
 
       - name: Perform CodeQL Analysis
-        uses: github/codeql-action/analyze@v2
+        uses: github/codeql-action/analyze@main
         with:
           category: "/language:${{ matrix.language }}"
diff --git a/.github/workflows/devel-push.yml b/.github/workflows/devel-push.yml
index 7dddc13cc..5d01a0c7b 100644
--- a/.github/workflows/devel-push.yml
+++ b/.github/workflows/devel-push.yml
@@ -41,7 +41,7 @@ jobs:
           }
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@main
 
       - name: Deps-packages
         shell: bash