[Repo Assist] perf/refactor: convert ILFieldDefs/ILEventDefs/ILPropertyDefs to concrete classes with lazy name-lookup caches #102
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: Build and Test PR | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, ubuntu-22.04] | |
| dotnet: [8.0.124] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Setup .NET Core 6 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 6.0.425 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('paket.lock', '.config/dotnet-tools.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| - name: Cache FAKE build artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: .fake | |
| key: ${{ runner.os }}-fake-${{ hashFiles('build.fsx', 'build.fsx.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-fake- | |
| - name: Build on Windows | |
| if: matrix.os == 'windows-latest' | |
| run: .\build.cmd | |
| - name: Build on Unix | |
| if: matrix.os != 'windows-latest' | |
| run: ./build.sh |