Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Infer# #127

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -33,7 +33,32 @@ jobs:

- name: Run dotnet format
run: dotnet format --check --verbosity:diagnostic

analyze_infersharp:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Setup .NET Core (global.json)
uses: actions/setup-dotnet@v1

- run: dotnet build Meziantou.Framework.Linux.slnf --configuration Release /bl

- name: Run Infer#
uses: microsoft/infersharpaction@v1.0
id: runinfersharp
with:
binary-path: 'src'
- name: Infer# analysis results
run: echo "${{ steps.runinfersharp.outputs.results }}"

- uses: actions/upload-artifact@v2
with:
name: binlog
if-no-files-found: error
retention-days: 3
path: '**/*.binlog'

create_nuget:
runs-on: windows-2019
steps:
Expand Down