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>
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 023d159..89a4f0a 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -22,18 +22,18 @@
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 7dddc13..5d01a0c 100644
--- a/.github/workflows/devel-push.yml
+++ b/.github/workflows/devel-push.yml
@@ -41,7 +41,7 @@
}
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@main
- name: Deps-packages
shell: bash