Changeset 49938
- Timestamp:
- 01/05/2021 07:21:50 PM (4 years ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r49782 r49938 17 17 # Performs the following steps: 18 18 # - Checks out the repository. 19 # - Configures caching for Composer.20 19 # - Sets up PHP. 21 20 # - Logs debug information. 22 # - Installs Composer dependencies (from cache if possible). 21 # - Installs Composer dependencies (use cache if possible). 22 # - Make Composer packages available globally. 23 23 # - Logs PHP_CodeSniffer debug information. 24 24 # - Runs PHPCS on the full codebase with warnings suppressed. … … 33 33 - name: Checkout repository 34 34 uses: actions/checkout@v2 35 36 - name: Get Composer cache directory37 id: composer-cache38 run: echo "::set-output name=dir::$(composer config cache-files-dir)"39 40 - name: Set up Composer caching41 uses: actions/cache@v242 env:43 cache-name: cache-composer-dependencies44 with:45 path: ${{ steps.composer-cache.outputs.dir }}46 key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}47 restore-keys: |48 ${{ runner.os }}-composer-49 35 50 36 - name: Set up PHP … … 61 47 62 48 - name: Install Composer dependencies 63 run: | 64 composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction 65 echo "${PWD}/vendor/bin" >> $GITHUB_PATH 49 uses: ramsey/composer-install@v1 50 with: 51 composer-options: "--no-progress --no-ansi --no-interaction" 52 53 - name: Make Composer packages available globally 54 run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH 66 55 67 56 - name: Log PHPCS debug information -
trunk/.github/workflows/php-compatibility.yml
r49781 r49938 18 18 # Performs the following steps: 19 19 # - Checks out the repository. 20 # - Configures caching for Composer.21 20 # - Sets up PHP. 22 21 # - Logs debug information about the runner container. 23 # - Installs Composer dependencies (from cache if possible). 22 # - Installs Composer dependencies (use cache if possible). 23 # - Make Composer packages available globally. 24 24 # - Logs PHP_CodeSniffer debug information. 25 25 # - Runs the PHP compatibility tests. … … 33 33 - name: Checkout repository 34 34 uses: actions/checkout@v2 35 36 - name: Get Composer cache directory37 id: composer-cache38 run: echo "::set-output name=dir::$(composer config cache-files-dir)"39 40 - name: Set up Composer caching41 uses: actions/cache@v242 env:43 cache-name: cache-composer-dependencies44 with:45 path: ${{ steps.composer-cache.outputs.dir }}46 key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}47 restore-keys: |48 ${{ runner.os }}-composer-49 35 50 36 - name: Set up PHP … … 61 47 62 48 - name: Install Composer dependencies 63 run: | 64 composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction 65 echo "${PWD}/vendor/bin" >> $GITHUB_PATH 49 uses: ramsey/composer-install@v1 50 with: 51 composer-options: "--no-progress --no-ansi --no-interaction" 52 53 - name: Make Composer packages available globally 54 run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH 66 55 67 56 - name: Log PHPCS debug information -
trunk/.github/workflows/phpunit-tests.yml
r49835 r49938 192 192 with: 193 193 path: ${{ steps.composer-cache.outputs.dir }} 194 key: ${{ runner.os }}- composer-${{ hashFiles('**/composer.lock') }}194 key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} 195 195 restore-keys: | 196 ${{ runner.os }}- composer-196 ${{ runner.os }}-php-${{ matrix.php }}-composer- 197 197 198 198 - name: Install Composer dependencies
Note: See TracChangeset
for help on using the changeset viewer.