Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Remove concept of OS from build #563

Merged
merged 1 commit into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ jobs:
uses: "actions/cache@v3"
with:
path: "${{ steps.composer-cache.outputs.directory }}"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
key: "composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-
composer-

- name: "Download dependencies"
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ jobs:
uses: "actions/cache@v3"
with:
path: "${{ steps.composer-cache.outputs.directory }}"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
key: "composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-
composer-

- name: "Download dependencies"
Expand All @@ -52,11 +51,10 @@ jobs:
uses: "actions/cache@v3"
with:
path: ".php_cs.cache"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ github.ref_name }}"
key: "composer-${{ matrix.php-version }}-${{ github.ref_name }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-main
composer-${{ runner.os }}-${{ matrix.php-version }}
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-main
composer-${{ matrix.php-version }}
composer-

- name: "Run php-cs-fixer"
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ jobs:
uses: "actions/cache@v3"
with:
path: "${{ steps.composer-cache.outputs.directory }}"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
key: "composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-
composer-

- name: "Download dependencies"
Expand Down Expand Up @@ -77,10 +76,9 @@ jobs:
uses: "actions/cache@v3"
with:
path: "${{ steps.composer-cache.outputs.directory }}"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
key: "composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-
composer-

- name: "Download dependencies"
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,16 @@ name: "Tests"

jobs:
phpunit:
name: "PHPUnit on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}"
bram-pkg marked this conversation as resolved.
Show resolved Hide resolved
name: "PHPUnit"

strategy:
matrix:
operating-system:
- "ubuntu-latest"
php-version:
- "7.4"
- "8.0"
- "8.1"

runs-on: "${{ matrix.operating-system }}"
runs-on: "ubuntu-latest"

steps:
- name: "Checkout code"
Expand All @@ -43,10 +41,9 @@ jobs:
uses: "actions/cache@v3"
with:
path: "${{ steps.composer-cache.outputs.directory }}"
key: "composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
key: "composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}"
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-${{ matrix.php-version }}-
composer-

- name: "Download dependencies"
Expand Down