Skip to content

Commit

Permalink
Run ruff on push in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Apr 27, 2024
1 parent d384763 commit 24676f1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-python

name: CI

on:
push:
branches: '*'
pull_request:
branches: '*'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: pip

- run: pip install --progress-bar off ruff build

- name: ruff
run: ruff check --output-format=github dool

- name: check package builds successfully
run: mv dool dool.py && python -m build

0 comments on commit 24676f1

Please sign in to comment.