Merge pull request #35 from prefeitura-rio/feat/chatbot_metrics_5 #362
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: CI | |
on: | |
push: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 | |
- name: Lint Dockerfile | |
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf | |
with: | |
dockerfile: Dockerfile | |
ignore: DL3008 | |
- name: Set up Python | |
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e | |
with: | |
python-version: "3.10" | |
- name: Set up uv and upgrade pip | |
run: | | |
pip install -U pip uv | |
- name: Install dependencies | |
run: | | |
uv sync --extra dev --extra ci | |
- name: Lint with black, isort and flake8 | |
run: | | |
uv run task lint |