Skip to content

checkout and start-project in one step #50

checkout and start-project in one step

checkout and start-project in one step #50

Workflow file for this run

name: CI
on:
pull_request:
branches: ['master', 'main']
push:
branches: ['master', 'main']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install falco
run: |
pip install falco-cli
- name: Get falco project
uses: actions/checkout@v4
run: |
alco start-project test-project -b falco_blueprint_basic
- name: Install hatch
run: |
pip install hatch
- name: Sync .env
run: |
cd test_project && hatch run falco sync-dotenv
- name: Run django checks
run: |
cd test_project && hatch run python manage.py check --fail-level WARNING