Use windows-2019 for CI jobs involving build tracing

Build tracing currently does not support Windows 2022, so use
`windows-2019` instead of`windows-latest`.
This commit is contained in:
Henry Mercer
2022-02-08 11:21:42 +00:00
parent edd03fbd2c
commit b8047e5610
11 changed files with 26 additions and 22 deletions

View File

@@ -30,10 +30,7 @@ jobs:
- cached
- latest
- nightly-latest
os:
- ubuntu-latest
- macos-latest
- windows-latest
os: [ubuntu-latest, macos-latest, windows-2019]
name: "Analyze: 'ref' and 'sha' from inputs"
runs-on: ${{ matrix.os }}
steps:

View File

@@ -30,10 +30,7 @@ jobs:
- cached
- latest
- nightly-latest
os:
- ubuntu-latest
- macos-latest
- windows-latest
os: [ubuntu-latest, macos-latest, windows-2019]
name: 'Go: Custom queries'
runs-on: ${{ matrix.os }}
steps:

View File

@@ -30,10 +30,7 @@ jobs:
- cached
- latest
- nightly-latest
os:
- ubuntu-latest
- macos-latest
- windows-latest
os: [ubuntu-latest, macos-latest, windows-2019]
name: 'Go: Custom tracing'
runs-on: ${{ matrix.os }}
steps:

View File

@@ -30,10 +30,7 @@ jobs:
- cached
- latest
- nightly-latest
os:
- ubuntu-latest
- macos-latest
- windows-latest
os: [ubuntu-latest, macos-latest, windows-2019]
name: Remote config file
runs-on: ${{ matrix.os }}
steps:

View File

@@ -30,10 +30,7 @@ jobs:
- cached
- latest
- nightly-latest
os:
- ubuntu-latest
- macos-latest
- windows-latest
os: [ubuntu-latest, macos-latest, windows-2019]
name: "Upload-sarif: 'ref' and 'sha' from inputs"
runs-on: ${{ matrix.os }}
steps:

View File

@@ -182,7 +182,9 @@ jobs:
runner-analyze-csharp-windows:
name: Runner windows C# analyze
needs: [check-js, check-node-modules]
runs-on: windows-latest
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
@@ -301,7 +303,9 @@ jobs:
runner-analyze-csharp-autobuild-windows:
name: Runner windows autobuild C# analyze
needs: [check-js, check-node-modules]
runs-on: windows-latest
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
runs-on: windows-2019
steps:
- uses: actions/checkout@v2

View File

@@ -1,5 +1,8 @@
name: "Analyze: 'ref' and 'sha' from inputs"
description: "Checks that specifying 'ref' and 'sha' as inputs works"
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- uses: ./../action/init
with:

View File

@@ -1,5 +1,8 @@
name: "Go: Custom queries"
description: "Checks that Go works in conjunction with a config file specifying custom queries"
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- uses: actions/setup-go@v2
with:

View File

@@ -1,5 +1,8 @@
name: "Go: Custom tracing"
description: "Checks that Go tracing works"
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
os: [ubuntu-latest, macos-latest, windows-2019]
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "true"
steps:

View File

@@ -1,5 +1,8 @@
name: "Remote config file"
description: "Checks that specifying packages using only a config file works"
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- uses: ./../action/init
with:

View File

@@ -1,5 +1,8 @@
name: "Upload-sarif: 'ref' and 'sha' from inputs"
description: "Checks that specifying 'ref' and 'sha' as inputs works"
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
# `windows-latest`.
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- uses: ./../action/init
with: