Update for LocalStack.NET: .NET 8 support, new AWS services and more #44
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-macos | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- LICENSE | |
branches: | |
- "master" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- LICENSE | |
branches: | |
- master | |
jobs: | |
build-and-test: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Init | |
run: chmod +x ./build.sh | |
- name: Install NuGet | |
uses: NuGet/setup-nuget@v1.0.5 | |
- name: Setup Testspace | |
uses: testspace-com/setup-testspace@v1 | |
with: | |
domain: ${{github.repository_owner}} | |
- name: Install .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: "6.0.x" | |
- name: Install .NET 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Build | |
run: ./build.sh --target build | |
- name: Run Tests | |
run: ./build.sh --target tests --exclusive | |
- name: Push result to Testspace server | |
run: | | |
testspace [macos]**/*.trx | |
if: always() |