feat: validate that the browser path exists on a dryrun #19
This file contains 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: | |
branches: [master, develop] | |
paths: | |
- 'bing_rewards/**.py' | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Run Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python >= 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '>=3.10' | |
cache: pip | |
- name: Install ruff | |
run: pip install ruff | |
- name: Run ruff lint | |
run: ruff check --output-format=github . | |
- name: Run ruff format | |
run: ruff format --check . |