Skip to content

Commit

Permalink
add .github/workflows/ruff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Oct 20, 2023
1 parent bbb0e79 commit 08ad085
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Ruff"

on:
push:
pull_request:
# The branches below must be a subset of the branches above
schedule:
- cron: "33 1 * * 3"

jobs:
ruff:
name: "See: docs.astral.sh/ruff"
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: cd and ls
run: |
cd ${{ github.workspace }}
ls -l
- name: Download ruff
run: |
wget -c https://github.com/astral-sh/ruff/releases/download/v0.0.290/ruff-x86_64-unknown-linux-gnu.tar.gz
tar -xzf ruff-x86_64-unknown-linux-gnu.tar.gz
ls -l ruff
chmod a+x ruff
- name: Run ruff
run: ./ruff .

0 comments on commit 08ad085

Please sign in to comment.