Update pipeline trigger #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 | |
on: | |
push: | |
branches: | |
- "*" | |
tags-ignore: | |
- "*" | |
paths-ignore: | |
- "**.md" | |
- ".vscode/**" | |
- ".devcontainer/**" | |
pull_request: | |
jobs: | |
build: | |
name: Build & Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
dotnet: [6.0.402] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Restore | |
run: dotnet tool restore && dotnet run restore | |
- name: Build | |
run: dotnet run build | |
- name: Test | |
run: dotnet run test |