Bump ruff from 0.9.10 to 0.11.0 #209
Workflow file for this run
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: Streamlit app | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
permissions: | |
contents: read | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v3 | |
with: | |
args: 'format --check' | |
streamlit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: | | |
pipx install poetry | |
pipx inject poetry poetry-plugin-export | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- run: | | |
# https://github.com/python-poetry/poetry/issues/1214 | |
pip install --requirement <(poetry export --dev --format requirements.txt) | |
- uses: streamlit/streamlit-app-action@v0.0.3 | |
with: | |
app-path: streamlit_app.py | |
skip-smoke: 'true' | |