Copy Activate.ps1 script unconditionally between build stages #902
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: Lint | |
| on: [push, pull_request, workflow_dispatch] | |
| permissions: {} | |
| env: | |
| FORCE_COLOR: 1 | |
| RUFF_OUTPUT_FORMAT: github | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.x" | |
| cache: pip | |
| - uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1 | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install -U pip | |
| python3 -m pip install -U tox | |
| - name: Mypy | |
| run: tox -e mypy | |
| - name: Run PSScriptAnalyzer on PowerShell scripts | |
| shell: pwsh | |
| run: | | |
| Invoke-ScriptAnalyzer -Path . -Recurse -Severity ParseError,Error -EnableExit |