Skip to content

Commit

Permalink
add github workflow for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Sep 17, 2023
1 parent 49703d4 commit 689689b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Ruff"

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

jobs:
ruff:
name: "https://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 ./pyglossary

0 comments on commit 689689b

Please sign in to comment.