[Repo Assist] ApiDocs: more tolerant cross-references for unqualified cref attributes #640
Workflow file for this run
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| id-token: write | |
| security-events: write | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Cache .NET SDK | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.dotnet | |
| key: ${{ runner.os }}-dotnet-sdk-${{ hashFiles('global.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-dotnet-sdk- | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('Directory.Packages.props', 'global.json', '.config/dotnet-tools.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| - name: Run CI | |
| run: dotnet fsi build.fsx | |
| - name: Analyze Solution | |
| if: matrix.os == 'ubuntu-latest' | |
| run: dotnet msbuild /t:AnalyzeSolution | |
| continue-on-error: true | |
| - name: Upload SARIF file | |
| uses: github/codeql-action/upload-sarif@v4 | |
| if: matrix.os == 'ubuntu-latest' | |
| with: | |
| sarif_file: ./analysis.sarif | |
| ci: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - run: echo "All builds passed" |