Skip to content

fix: restore functional backend and update CI workflow #3

fix: restore functional backend and update CI workflow

fix: restore functional backend and update CI workflow #3

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
run: flake8 . --exclude=backend/lambdas/dist,infrastructure/local/.localstack
terraform:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- name: Terraform Format
run: terraform fmt -check
working-directory: ./infrastructure/terraform
- name: Terraform Init
run: terraform init
working-directory: ./infrastructure/terraform
- name: Terraform Validate
run: terraform validate
working-directory: ./infrastructure/terraform