fix: docker login command #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.4' | |
- run: docker network create traefik | |
- name: Run setup Docker container | |
run: | | |
cd src | |
cp .env-example .env | |
just setup | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.4' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Lint project | |
run: | | |
cd src | |
just install lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.4' | |
coverage: xdebug | |
- run: docker network create traefik | |
- name: Run coverage report | |
run: | | |
cd src | |
cp .env-example .env | |
just setup coverage |