Skip to content

Commit ed8cb3c

Browse files
committed
ci: bump checkout v2/3 to v6 and CodeQL v2 to v3
Avoid deprecated CodeQL version and EoL Node.js runtimes. Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
1 parent 140a9e7 commit ed8cb3c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v6
2828

2929
- name: Install Packages (cpp)
3030
if: ${{ matrix.language == 'cpp' }}
@@ -46,15 +46,15 @@ jobs:
4646
export LD_LIBRARY_PATH="$RUNNER_TEMP/installdir/usr/lib:$LD_LIBRARY_PATH" && echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
4747
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@v2
49+
uses: github/codeql-action/init@v3
5050
with:
5151
languages: ${{ matrix.language }}
5252
queries: +security-and-quality
5353

5454
- name: Autobuild
55-
uses: github/codeql-action/autobuild@v2
55+
uses: github/codeql-action/autobuild@v3
5656

5757
- name: Perform CodeQL Analysis
58-
uses: github/codeql-action/analyze@v2
58+
uses: github/codeql-action/analyze@v3
5959
with:
6060
category: "/language:${{ matrix.language }}"

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
sudo apt-get install qemu binfmt-support qemu-user-static
2323
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
2424
- name: Check out repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v6
2626
- name: Launch Action
2727
uses:
2828
tpm2-software/ci/runCI@main

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
compiler: [gcc, clang]
1212
steps:
1313
- name: Check out repository
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v6
1515
- name: fix-sanitizer
1616
run: sudo sysctl vm.mmap_rnd_bits=28
1717
- name: Launch Action
@@ -32,7 +32,7 @@ jobs:
3232
compiler: [gcc, clang]
3333
steps:
3434
- name: Check out repository
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v6
3636
- name: fix-sanitizer
3737
run: sudo sysctl vm.mmap_rnd_bits=28
3838
- name: Launch Action
@@ -52,7 +52,7 @@ jobs:
5252
if: "!contains(github.ref, 'coverity_scan')"
5353
steps:
5454
- name: Check out repository
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@v6
5656
- name: fix-sanitizer
5757
run: sudo sysctl vm.mmap_rnd_bits=28
5858
- name: Launch Action
@@ -81,7 +81,7 @@ jobs:
8181
if: contains(github.ref, 'coverity_scan')
8282
steps:
8383
- name: Check out repository
84-
uses: actions/checkout@v2
84+
uses: actions/checkout@v6
8585
- name: fix-sanitizer
8686
run: sudo sysctl vm.mmap_rnd_bits=28
8787
- name: Launch Coverity Action

.github/workflows/tss2master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
compiler: [gcc, clang]
1313
steps:
1414
- name: Check out repository
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v6
1616
- name: fix-sanitizer
1717
run: sudo sysctl vm.mmap_rnd_bits=28
1818
- name: Launch Action

0 commit comments

Comments
 (0)