Open-source alternative Instagram client on Android. More maintainers needed!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

  1. # This workflow integrates a collection of open source static analysis tools
  2. # with GitHub code scanning. For documentation, or to provide feedback, visit
  3. # https://github.com/github/ossar-action
  4. name: OSSAR
  5. on:
  6. push:
  7. pull_request:
  8. jobs:
  9. OSSAR-Scan:
  10. # OSSAR runs on windows-latest.
  11. # ubuntu-latest and macos-latest support coming soon
  12. runs-on: windows-latest
  13. steps:
  14. # Checkout your code repository to scan
  15. - name: Checkout repository
  16. uses: actions/checkout@v2
  17. with:
  18. # We must fetch at least the immediate parents so that if this is
  19. # a pull request then we can checkout the head.
  20. fetch-depth: 2
  21. # If this run was triggered by a pull request event, then checkout
  22. # the head of the pull request instead of the merge commit.
  23. - run: git checkout HEAD^2
  24. if: ${{ github.event_name == 'pull_request' }}
  25. # Install dotnet, used by OSSAR
  26. - name: Install .NET
  27. uses: actions/setup-dotnet@v1
  28. with:
  29. dotnet-version: '3.1.201'
  30. # Run open source static analysis tools
  31. - name: Run OSSAR
  32. uses: github/ossar-action@v1
  33. id: ossar
  34. # Upload results to the Security tab
  35. - name: Upload OSSAR results
  36. uses: github/codeql-action/upload-sarif@v1
  37. with:
  38. sarif_file: ${{ steps.ossar.outputs.sarifFile }}