Skip to content

Reorder generated baseline properties and format spacing #59

Reorder generated baseline properties and format spacing

Reorder generated baseline properties and format spacing #59

Workflow file for this run

name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
env:
BUILD_CONFIGURATION: Release
SOLUTION: AspectGenerator.sln
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
dotnet: ['10.0.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Restore dependencies
run: dotnet restore ${{ env.SOLUTION }}
- name: Check tracked build artifacts
shell: bash
run: |
if git ls-files | grep -E '(^|/)obj/|(^|/)bin/'; then
echo "Build artifacts must not be tracked."
exit 1
fi
- name: Build
run: dotnet build ${{ env.SOLUTION }} --no-restore --configuration ${{ env.BUILD_CONFIGURATION }}
- name: Test
run: dotnet test ${{ env.SOLUTION }} --no-build --configuration ${{ env.BUILD_CONFIGURATION }} --verbosity normal
- name: Pack
run: dotnet pack Source/AspectGenerator.csproj --no-build --configuration ${{ env.BUILD_CONFIGURATION }}