Skip to content

update readme for setup #16

update readme for setup

update readme for setup #16

Workflow file for this run

name: Terraform CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository to the runner
uses: actions/checkout@v2
- name: Setup Terraform with specified version on the runner
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.3.0
- name: Terraform init
working-directory: ./architecture
id: init
run: terraform init
- name: Terraform format
working-directory: ./architecture
id: fmt
run: terraform fmt -check
- name: Terraform validate
working-directory: ./architecture
id: validate
run: terraform validate
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev,linting]
- name: Precommit check
run: |
pre-commit install
SKIP=pytest-check pre-commit run
SKIP=pytest-check pre-commit run --all-files