Skip to content

Commit dd0122b

Browse files
authored
Merge pull request #30 from drupol/update-github-actions
Fix LF configuration.
2 parents 8f36934 + ed6075d commit dd0122b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ jobs:
1717
php-versions: ['7.1', '7.2', '7.3', '7.4']
1818

1919
steps:
20+
- name: Set git to use LF
21+
run: |
22+
git config --global core.autocrlf false
23+
git config --global core.eol lf
24+
2025
- name: Checkout
21-
uses: actions/checkout@master
26+
uses: actions/checkout@v2.3.1
2227
with:
2328
fetch-depth: 1
2429

2530
- name: Install PHP
26-
uses: shivammathur/setup-php@master
31+
uses: shivammathur/setup-php@v2
2732
with:
2833
php-version: ${{ matrix.php-versions }}
2934
extensions: mbstring,xdebug,pcov
@@ -33,7 +38,7 @@ jobs:
3338
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3439

3540
- name: Cache dependencies
36-
uses: actions/cache@v1
41+
uses: actions/cache@v2
3742
with:
3843
path: ${{ steps.composer-cache.outputs.dir }}
3944
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -49,7 +54,7 @@ jobs:
4954
run: vendor/bin/psalm --shepherd --stats
5055
continue-on-error: true
5156

52-
- name: Scrutinizer
57+
- name: Send Scrutinizer data
5358
run: |
5459
wget https://scrutinizer-ci.com/ocular.phar
5560
php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml

0 commit comments

Comments
 (0)