Fix for Tests, also fix Create bucket endpoint validator for maximum file size #8575
Workflow file for this run
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: "Linter" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- run: git checkout HEAD^2 | |
- name: Validate composer.json and composer.lock | |
run: | | |
docker run --rm -v $PWD:/app composer sh -c \ | |
"composer validate" | |
- name: Run Linter | |
run: | | |
docker run --rm -v $PWD:/app composer sh -c \ | |
"composer install --profile --ignore-platform-reqs && composer lint" |