Skip to content

Commit

Permalink
ci: Remove composer.lock so it can be tested on multiple PHP versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed May 30, 2022
1 parent 9fb0097 commit 1065af5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3,294 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "7.4"
- "8.1"
operating-system:
- "ubuntu-latest"

Expand All @@ -40,16 +40,7 @@ jobs:
key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}"
restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}"

- name: "Install lowest dependencies"
if: ${{ matrix.dependencies == 'lowest' }}
run: "composer update --prefer-lowest --no-interaction --no-progress --no-suggest"

- name: "Install highest dependencies"
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --no-interaction --no-progress --no-suggest"

- name: "Install locked dependencies"
if: ${{ matrix.dependencies == 'locked' }}
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress --no-suggest"

- name: "Coding Standard"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/kahlan-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.1"
operating-system:
- "ubuntu-latest"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.1"
operating-system:
- "ubuntu-latest"

Expand Down Expand Up @@ -53,4 +54,4 @@ jobs:
run: "composer install --no-interaction --no-progress --no-suggest"

- name: "psalm"
run: "vendor/bin/psalm --output-format=github --shepherd --stats"
run: "vendor/bin/psalm --output-format=github --shepherd --stats"
Loading

0 comments on commit 1065af5

Please sign in to comment.