cookbook for Basic RAG #16
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 Linting | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
adopt-ruff: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install ruff | |
run: pip install ruff | |
- name: Run the adopt-ruff action | |
uses: chartboost/ruff-action@v1 | |