Skip to content

Commit

Permalink
ci: simplify linting action
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Feb 6, 2024
1 parent b68b6db commit b5d9423
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: pip cache
id: pip-cache
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.*') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff>=0.1.8
# Include `--format=github` to enable automatic inline annotations.
- name: Run Ruff
run: ruff --format=github src/
- name: lint sourcecode
uses: chartboost/ruff-action@v1

# build-docs:
# name: build documentation
Expand Down

0 comments on commit b5d9423

Please sign in to comment.