Adopt Ruff #72
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: Adopt Ruff | |
on: | |
workflow_dispatch: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- master | |
jobs: | |
adopt-ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install ruff | |
run: pip install ruff | |
shell: bash | |
- name: Set up python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Run the adopt-ruff action | |
uses: ./ | |
with: | |
ref: ${{ github.sha }} |