dependency tree python #23
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: Node.js CI | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # ============= InvisiRisk Setup ============= | |
| - name: Setup PSE | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| api_url: "https://app.invisirisk.com" | |
| app_token: ${{secrets.IR_API_KEY}} | |
| # ============= InvisiRisk Setup End ============= | |
| # Checkout repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.9" | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| # ============= InvisiRisk Cleanup ============= | |
| - name: Cleanup PSE | |
| if: always() | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| cleanup: "true" | |
| # ============= InvisiRisk Cleanup End ============= |