commit changes #13
This file contains hidden or 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: "Linter" | |
| on: [pull_request] | |
| jobs: | |
| lint: | |
| name: Linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run Linter | |
| env: | |
| COMPOSER_ROOT_VERSION: dev-main | |
| run: | | |
| docker run --rm -v $PWD:/app -w /app -e COMPOSER_ROOT_VERSION=$COMPOSER_ROOT_VERSION composer:2.8 sh -c \ | |
| "git config --global --add safe.directory /app && composer install --profile --ignore-platform-reqs && composer lint" | |