Skip to content

Commit

Permalink
Clean up checks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wigging committed Jan 9, 2025
1 parent c38d0b3 commit 51ee2bb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 38 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Linter, formatter, and docs checks

on: pull_request

jobs:

checks:
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, 'CI Bot')"

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"

- name: Install package and dependencies
run: |
pip install --upgrade pip
pip install ruff
pip install .[docs]
- name: Run linter and formatter checks using ruff
run: make checks

- name: Run HTML builder for Sphinx documentation
run: make docs
38 changes: 0 additions & 38 deletions .github/workflows/run-checks.yml

This file was deleted.

0 comments on commit 51ee2bb

Please sign in to comment.