Feature: optional loading of an EPOCH input deck #331
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: | |
| paths: | |
| - '**.py' | |
| pull_request: | |
| paths: | |
| - '**.py' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| # Providing 'args' prevents the action from running 'ruff check .' | |
| # immediately after installing ruff. | |
| - name: Install Ruff | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "--version" | |
| - name: Check | |
| run: ruff check --output-format=github src tests | |
| - name: Format | |
| run: ruff format --check --diff src tests |