build: treat warnings as errors; fix CS0419 cref ambiguity #1080
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 | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| productNamespacePrefix: "ReactiveUI.SourceGenerators" | |
| # Needed so the reusable workflow can optionally delete the temp per-OS artifacts it creates. | |
| permissions: | |
| contents: read | |
| actions: write | |
| jobs: | |
| build: | |
| uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main | |
| with: | |
| productNamespacePrefix: ReactiveUI.SourceGenerators | |
| installWorkloads: true | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |