PLAT-15858 Update documentation and remove language detection code #278
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: "units-test" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - 'releases/*' | |
| jobs: | |
| # unit tests | |
| units: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: npm ci | |
| - run: npm test | |
| # test action works running from the graph | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ./ | |
| with: | |
| inputSarifFile: ./fixtures/test002.sarif | |
| outputSarifFile: ./fixtures/test002.out.sarif | |
| githubToken: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Display output | |
| run: | | |
| cat ./fixtures/test002.out.sarif |