Use current versions of GitHub actions

This commit is contained in:
Frank Denis 2022-11-23 19:44:10 +01:00
parent c19164f02e
commit 9ee4e3ddb4
2 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@ jobs:
tcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update
@ -35,7 +35,7 @@ jobs:
zig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update
@ -65,7 +65,7 @@ jobs:
regular:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update
@ -94,7 +94,7 @@ jobs:
check-globals:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update
@ -112,7 +112,7 @@ jobs:
other-comp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update
@ -138,7 +138,7 @@ jobs:
other-arch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update packages list
run: sudo apt-get update

View File

@ -12,12 +12,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: cpp
@ -27,4 +27,4 @@ jobs:
make -j $(nproc) check
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2