PHP Classes

File: .github/workflows/php.yml

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   PHP JWT Token Generator and Manager   .github/workflows/php.yml   Download  
File: .github/workflows/php.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP JWT Token Generator and Manager
Generate and manage JWT authentication tokens
Author: By
Last change: php83 version
Date: 11 months ago
Size: 1,034 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)