Refactor swiftmailer to symfony mailer #29
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: Pull Request Check | |
on: [pull_request] | |
jobs: | |
unit-test: | |
name: Unit testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('composer.lock') }} | |
- name: Installing dependencies | |
uses: php-actions/composer@v6 | |
with: | |
php_version: 8.1 | |
- name: Running unit test | |
uses: php-actions/phpunit@v3 | |
with: | |
version: 9.6 | |
php_version: 8.1 | |
configuration: phpunit.xml |