Skip to content

Commit

Permalink
Fix: Remove concept of OS from build
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 7, 2022
1 parent 3e36dc5 commit aecce26
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 23 deletions.
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 }}"
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

0 comments on commit aecce26

Please sign in to comment.