diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index 1759ad5..89db130 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -12,8 +12,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run lint and type checks run: | + docker compose build --build-arg DEV=true docker compose run --rm app sh -c "mypy . && ruff check --no-cache && ruff format --no-cache" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cac4380..e84e4ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,10 @@ name: Customk CI -on: [push] -# pull_request: +on: + push: + branches: + - main + pull_request: jobs: ci: