Repository navigation
fix: report unregistered bindings as warnings and stop flagging binding extensions #86
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 & Test | |
| on: | |
| push: | |
| branches: [ vnext ] | |
| paths: | |
| - 'src/**' | |
| - 'test/**' | |
| - '!**/*.md' | |
| pull_request: | |
| branches: [ vnext ] | |
| paths: | |
| - 'src/**' | |
| - 'test/**' | |
| - '!**/*.md' | |
| workflow_dispatch: | |
| jobs: | |
| obfuscan: | |
| if: github.event_name == 'pull_request' | |
| name: Obfuscan | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Scan PR diff | |
| uses: ByteBardOrg/obfuscan-action@v1 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| fail-on: block | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ windows-latest, macos-latest ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Test | |
| run: dotnet test --no-build --verbosity normal |