Add bodemlagen_pwn_2024 v2.0.0 dataset #120
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: Linter | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Lint python files, repository.yaml, and mockup folder structure | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| strategy: | |
| fail-fast: false | |
| env: | |
| HATCH_VERBOSE: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Install hatch | |
| run: uv tool install hatch | |
| - name: Lint Python files | |
| run: hatch run lintformat:lint | |
| - name: Lint repository.yaml and check mockup folder structure | |
| run: hatch run test:pytest tests/test_repository_yaml.py tests/test_mockup_folder_structure.py -v |