Skip to content

Commit acfe257

Browse files
chore: update global workflows (#285)
1 parent a9952b2 commit acfe257

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
if (key.toLowerCase() === 'swift') {
6464
osList = ['macos-latest'];
6565
} else if (key.toLowerCase() === 'cpp') {
66-
osList = ['macos-latest', 'ubuntu-latest', 'windows-latest'];
66+
// TODO: update macos to latest after the below issue is resolved
67+
// https://github.com/github/codeql-action/issues/2266
68+
osList = ['macos-13', 'ubuntu-latest', 'windows-latest'];
6769
}
6870
for (let os of osList) {
6971
// set name for matrix
@@ -120,10 +122,12 @@ jobs:
120122

121123
steps:
122124
- name: Maximize build space
123-
if: runner.os == 'Linux'
124-
uses: easimon/maximize-build-space@v8
125+
if: >-
126+
runner.os == 'Linux' &&
127+
matrix.language == 'cpp'
128+
uses: easimon/maximize-build-space@v10
125129
with:
126-
root-reserve-mb: 20480
130+
root-reserve-mb: 30720
127131
remove-dotnet: ${{ (matrix.language == 'csharp' && 'false') || 'true' }}
128132
remove-android: 'true'
129133
remove-haskell: 'true'

0 commit comments

Comments
 (0)