add thanos configs #87
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: format | |
on: | |
push: | |
branches: | |
- main | |
- 'releases/**' | |
pull_request: | |
branches: | |
- main | |
- 'releases/**' | |
workflow_dispatch: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: "Setup Python, Poetry and Dependencies" | |
uses: packetcoders/action-setup-cache-python-poetry@main | |
with: | |
python-version: "3.10" | |
poetry-version: "1.7.1" | |
install-args: "--with dev" # TODO: change this to --group dev when PR #842 lands | |
- name: Running ruff | |
run: | | |
poetry run ruff check --diff konduktor tests | |
poetry run ruff format --diff konduktor tests |