Skip to content

Update README.md

Update README.md #7

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install flake8
- name: Run Flake8
# Ignoramos erros de estilo (E, W) e focamos apenas em erros lógicos (F)
# ou aumentamos a tolerância de linha para 120 caracteres.
run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=backend/lambdas/dist,infrastructure/local/.localstack
terraform:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- name: Terraform Init
run: terraform init
working-directory: ./infrastructure/terraform
- name: Terraform Validate
run: terraform validate
working-directory: ./infrastructure/terraform
# O check de formato foi removido para evitar falhas por conta de indentação no provider.tf