Merge pull request #734 from adamralph/net10 #281
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: infer-sharp | |
| on: | |
| push: | |
| branches: [main, release-*] | |
| pull_request: | |
| permissions: | |
| security-events: write | |
| jobs: | |
| infer-sharp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-dotnet@v4.3.1 | |
| with: | |
| dotnet-version: '10.0.101' | |
| - uses: actions/checkout@v6.0.1 | |
| with: | |
| persist-credentials: false | |
| - run: dotnet build | |
| - run: ls -al | |
| - run: pwd | |
| - uses: microsoft/infersharpaction@b749060de518f410f92c87d37d2366e5e9d7c5fc # v1.5 | |
| with: | |
| binary-path: './SimpleExec' | |
| - run: cat infer-out/report.txt | |
| - uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: InferSharp reports | |
| path: infer-out/report.* | |
| - uses: github/codeql-action/upload-sarif@v3.23.0 | |
| with: | |
| sarif_file: infer-out/report.sarif |