Skip to content

Commit

Permalink
[BUILD] update action deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrotanner committed Mar 14, 2024
1 parent cbd9010 commit 51f10b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APP_URL=http://localhost
ADMIN_EMAIL=[email protected]
CONFIG_BASE_PATH=config

LOG_CHANNEL=null
LOG_CHANNEL=single

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: pull docker containers
run: docker-compose pull mysql
run: docker compose pull mysql

- uses: satackey/[email protected]
continue-on-error: true

- name: build docker container
run: docker-compose build
run: docker compose build

- name: PHP dependencies
run: docker-compose run -u root:root app composer install
run: docker compose run -u root:root app composer install

- name: env
run: cp .env.ci .env

- name: laravel key
run: docker-compose run -u root:root app php artisan key:generate
run: docker compose run -u root:root app php artisan key:generate

- name: start containers
run: docker-compose up -d mysql
run: docker compose up -d mysql

- name: wait for mysql
run: |
Expand All @@ -42,13 +42,13 @@ jobs:
done
- name: run migrations
run: docker-compose run -u root:root app php artisan migrate
run: docker compose run -u root:root app php artisan migrate

- name: run tests
env:
MAILCHIMP_APIKEY: ${{ secrets.MAILCHIMP_APIKEY }}
run: >-
docker-compose
docker compose
run
-u root:root
-e MAILCHIMP_APIKEY=${MAILCHIMP_APIKEY}
Expand All @@ -68,7 +68,7 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
docker-compose
docker compose
run
-u root:root
-e GITHUB_REF=${GITHUB_REF}
Expand Down

0 comments on commit 51f10b1

Please sign in to comment.