Skip to content

Commit

Permalink
WIP lint gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Feb 15, 2024
1 parent ac6647d commit b01436a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: lint

on:
push:
branches:
- main
pull_request:
branches:
- main


jobs:
lint:
runs-on: ubuntu-latest
steps:

- name: checkout
uses: actions/checkout@v4

- name: lint
uses: chartboost/ruff-action@v1
with:
version: 0.2.1
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: tests

on:
push:
branches:
- main
pull_request:
workflow_run:
workflows: ["lint"]
branches:
- main
types:
- completed

jobs:
tests:
Expand Down

0 comments on commit b01436a

Please sign in to comment.