Skip to content

Add dotnet-format.yml #48

Add dotnet-format.yml

Add dotnet-format.yml #48

Workflow file for this run

name: Build
on: [push]

Check failure on line 3 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
paths-ignore:
- .gitignore
- LICENSE
- README.md
env:
DOTNET_VERSION: '7.0.x'
jobs:
ci:
name: build-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet build --configuration Release --no-restore & dotnet test --no-restore --verbosity normal