PHP Classes

File: .github/workflows/php.yml

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   PHP Generate ULID   .github/workflows/php.yml   Download  
File: .github/workflows/php.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Generate ULID
Generate, validate, and recover ULID values
Author: By
Last change: php83 version
Date: 1 year ago
Size: 1,035 bytes
 

Contents

Class file image Download
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup PHP Action uses: shivammathur/setup-php@2.26.0 with: php-version: 8.3 extensions: dom coverage: xdebug - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache uses: actions/cache@v3 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest - name: Run validations run: composer check - name: export coverage run: | export CODECOV_TOKEN="${{ secrets.CODECOV_TOKEN }}" bash <(curl -s https://codecov.io/bash)