Skip to content

Commit

Permalink
Merge pull request #1045 from christianhelle/macos-agent
Browse files Browse the repository at this point in the history
Update MacOS runner
  • Loading branch information
christianhelle authored Nov 18, 2024
2 parents be6137d + 6b46d8d commit 82a4cf0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/production-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

name: C#
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'macos-10.15' || matrix.os == 'macos-11' || matrix.node == 12 }}
continue-on-error: ${{ matrix.os == 'macos-10.15' || matrix.os == 'macos-12' || matrix.node == 12 }}
strategy:
fail-fast: false
matrix:
Expand All @@ -26,9 +26,9 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-13,
macos-latest,
windows-2019,
windows-2022
]
Expand Down Expand Up @@ -252,8 +252,8 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-latest,
windows-2019,
windows-2022
]
Expand Down Expand Up @@ -304,8 +304,8 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-latest,
windows-2019,
windows-2022
]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

name: C#
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'macos-10.15' || matrix.os == 'macos-11' || matrix.node == 12 }}
continue-on-error: ${{ matrix.os == 'macos-10.15' || matrix.os == 'macos-12' || matrix.node == 12 }}
strategy:
fail-fast: false
matrix:
Expand All @@ -27,9 +27,9 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-13,
macos-latest,
windows-2019,
windows-2022
]
Expand Down Expand Up @@ -312,8 +312,8 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-latest,
windows-2019,
windows-2022
]
Expand Down Expand Up @@ -361,8 +361,8 @@ jobs:
os: [
ubuntu-20.04,
ubuntu-22.04,
macos-11,
macos-12,
macos-latest,
windows-2019,
windows-2022
]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
& $VsixPublisher publish -payload ApiClientCodeGenerator-VS2022-${{ env.VERSION }}.vsix -publishManifest src/publish-manifest-vs2022.json -ignoreWarnings 'VSIXValidatorWarning01,VSIXValidatorWarning02'
VSMac:
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
matrix:
format: [ json, yaml ]
version: [ V2, V3 ]
os: [ macos-12, windows-latest, ubuntu-latest ]
os: [ macos-latest, windows-latest, ubuntu-latest ]

name: C#
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
- name: Generate code with Kiota
run: dotnet run --project ../src/CLI/ApiClientCodeGen.CLI/ApiClientCodeGen.CLI.csproj -- -v csharp kiota ./OpenApi.${{ matrix.format }} GeneratedCode ./GeneratedCode/Kiota/Output.cs --no-logging
working-directory: test
continue-on-error: ${{ matrix.os == 'macos-12' }}
continue-on-error: ${{ matrix.os == 'macos-latest' }}

- name: Build Kiota generated code
run: dotnet build ./GeneratedCode/Kiota/Kiota.sln
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
matrix:
format: [ json, yaml ]
version: [ V2, V3 ]
os: [ macos-12, windows-2022, ubuntu-latest ]
os: [ macos-latest, windows-2022, ubuntu-latest ]

name: JMeter
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
matrix:
format: [ json, yaml ]
version: [ V2, V3 ]
os: [ macos-12, windows-2022, ubuntu-latest ]
os: [ macos-latest, windows-2022, ubuntu-latest ]

name: TypeScript
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
vsmac:

name: VS Mac Extension
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 30

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vsmac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

build:

runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 10

steps:
Expand Down

0 comments on commit 82a4cf0

Please sign in to comment.