Skip to content

Commit eb11d20

Browse files
authored
Remove build2-toolchain intermediate binaries in the CodeQL workflow to save disk space
Also updated GitHub actions versions in the CodeQL workflow PR: #825
1 parent 64fb777 commit eb11d20

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/scripts/ubuntu-22.04/postcompile_build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ echo "${INSTALL_PATH}/odb/bin" >> $GITHUB_PATH
66
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/odb:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
77

88
# Clean up dependency sources and intermediate binaries to save space
9-
rm -rf ${DOWNLOAD_PATH}/odb
9+
rm -rf ${DOWNLOAD_PATH}/odb
10+
rm -rf ${INSTALL_PATH}/build2
11+
rm -rf ./build2-toolchain-*

.github/workflows/codeql.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727

2828
# Initializes the CodeQL tools for scanning
2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
30+
uses: github/codeql-action/init@v4
3131
with:
3232
languages: javascript-typescript
3333
build-mode: none
3434

3535
# Perform CodeQL analysis
3636
- name: Perform CodeQL Analysis
37-
uses: github/codeql-action/analyze@v3
37+
uses: github/codeql-action/analyze@v4
3838
with:
3939
category: "/language:javascript-typescript"
4040

@@ -50,11 +50,11 @@ jobs:
5050

5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5454

5555
# Initializes the CodeQL tools for scanning
5656
- name: Initialize CodeQL
57-
uses: github/codeql-action/init@v3
57+
uses: github/codeql-action/init@v4
5858
with:
5959
languages: c-cpp
6060
build-mode: manual
@@ -130,7 +130,7 @@ jobs:
130130
131131
# Perform CodeQL analysis
132132
- name: Perform CodeQL Analysis
133-
uses: github/codeql-action/analyze@v3
133+
uses: github/codeql-action/analyze@v4
134134
with:
135135
category: "/language:c-cpp"
136136

0 commit comments

Comments
 (0)