Allow constructing integer types from the factory method with string … #67
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: Analysis | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
name: Code Analysis | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v1 | |
with: | |
php-version: '7.4' | |
extension-csv: openssl,mbstring,gmp | |
coverage: xdebug | |
pecl: false | |
- name: Get Composer Cache Directory | |
id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Install Composer Dependencies | |
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader | |
- name: Cache Dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Run Static Analysis | |
run: composer run-script analyse | |
- name: Run Test Coverage | |
run: composer run-script test-coverage | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.xml | |
name: FreeDSx-SASL |