Merge pull request #732 from SteveDunn/target-multiple-roslyn-versions #1267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
ubuntu-latest: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: | | |
9.0.x | |
8.0.x | |
3.1.x | |
- name: Build and Test | |
run: ./Build.ps1 | |
shell: pwsh | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: | | |
9.0.x | |
8.0.x | |
3.1.x | |
- name: Build and Test | |
run: ./Build.ps1 | |
shell: pwsh | |
run-snapshots: | |
name: run-snapshots | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: | | |
9.0.x | |
- name: Run Snapshots | |
run: ./RunSnapshots.ps1 | |
shell: pwsh | |
macOS-latest: | |
name: macOS-latest | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: | | |
9.0.x | |
8.0.x | |
3.1.x | |
- name: Build and Test | |
run: ./Build.ps1 | |
shell: pwsh |