ELK Stack (#25) #55
This file contains hidden or 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: .NET Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: temporal-examples | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Restore dependencies | |
run: dotnet restore temporal-examples.sln | |
- name: Build | |
run: dotnet build --no-restore --configuration Release temporal-examples.sln | |
- name: Test | |
run: dotnet test --no-build --configuration Release --verbosity normal temporal-examples.sln |