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

View File

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