ci: switch to ruff 0.6.2 #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/0.6.2/ruff-x86_64-unknown-linux-gnu.tar.gz | |
tar -xzf ruff-*.tar.gz | |
mv ruff-x86_64-unknown-linux-gnu/ruff . | |
ls -l ruff | |
chmod a+x ruff | |
- name: Run ruff | |
run: ./ruff check |