diff --git a/.github/workflows/run-checks.yaml b/.github/workflows/run-checks.yaml index b576602..b96f8f0 100644 --- a/.github/workflows/run-checks.yaml +++ b/.github/workflows/run-checks.yaml @@ -15,6 +15,12 @@ jobs: - name: Install Composer dependencies run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-cli sh -c "composer install" + - name: Create .env file + run: cp .env.example .env + + - name: Create App Key + run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-cli sh -c "./artisan key:generate" + - name: Run style checks run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-cli sh -c "./vendor/bin/pint --test" diff --git a/Makefile b/Makefile index 1996eaa..b92788a 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ list: init: check-env down clean build network up install-composer reset-database generate-key ## Initial configuration tasks check-env: - @[ -f .env ] || { echo "No .env file found. Please run: cp .env.sample .env"; exit 1; } + @[ -f .env ] || { echo "No .env file found. Please run: cp .env.example .env"; exit 1; } build: ## Builds the Docker containers docker compose build