Skip to content

Commit 983ce8c

Browse files
authored
Merge pull request #16 from Moxio/rm-composer-lock
Unversion composer.lock
2 parents f54bdc7 + 0edec1b commit 983ce8c

File tree

3 files changed

+7
-2044
lines changed

3 files changed

+7
-2044
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
php-version: [ '7.3', '7.4', '8.0' ]
16+
php-version: [ '7.3', '7.4', '8.0', '8.1' ]
1717

1818
steps:
1919
- name: Checkout code
@@ -24,19 +24,10 @@ jobs:
2424
with:
2525
php-version: ${{ matrix.php-version }}
2626

27-
- name: Validate composer.json and composer.lock
27+
- name: Validate composer.json
2828
run: composer validate
2929

30-
- name: Cache Composer packages
31-
id: composer-cache
32-
uses: actions/cache@v2
33-
with:
34-
path: vendor
35-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
36-
restore-keys: |
37-
${{ runner.os }}-php-
3830
- name: Install dependencies
39-
if: steps.composer-cache.outputs.cache-hit != 'true'
4031
run: composer install --prefer-dist --no-progress --no-suggest
4132

4233
- name: Run test suite

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@
2222
},
2323
"require-dev": {
2424
"phpunit/phpunit": "^8.5.12"
25+
},
26+
"config": {
27+
"allow-plugins": {
28+
"dealerdirect/phpcodesniffer-composer-installer": true
29+
}
2530
}
2631
}

0 commit comments

Comments
 (0)