コンテナ内のphp-cs-fixerの設定をスケルトンと合わせonSaveも有効化 #46
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: 'Tests' | |
on: | |
push: | |
jobs: | |
compose: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: docker compose build --no-cache | |
- run: docker compose run php php -i | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
platforms: | |
- linux/amd64 | |
- linux/arm64 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/build-push-action@v3 | |
with: | |
context: docker/php/ | |
file: docker/php/Dockerfile | |
platforms: ${{ matrix.platforms }} | |
push: false |