generated from wayofdev/php-package-tpl
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #553 from wayofdev/ci/updates
- Loading branch information
Showing
8 changed files
with
664 additions
and
576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,22 @@ on: # yamllint disable-line rule:truthy | |
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
name: 🧹 Fix PHP coding standards | ||
|
||
jobs: | ||
commit-linting: | ||
timeout-minutes: 4 | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
cancel-in-progress: true | ||
group: commit-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
permissions: | ||
contents: read | ||
pull-requests: read | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🧐 Lint commits using "commitlint" | ||
uses: wagoid/[email protected] | ||
|
@@ -32,12 +32,15 @@ jobs: | |
yaml-linting: | ||
timeout-minutes: 4 | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
cancel-in-progress: true | ||
group: yaml-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
permissions: | ||
contents: read | ||
pull-requests: read | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🧐 Lint YAML files | ||
uses: ibiqlik/[email protected] | ||
|
@@ -54,7 +57,7 @@ jobs: | |
group: markdown-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🧐 Lint Markdown files | ||
uses: DavidAnson/[email protected] | ||
|
@@ -91,7 +94,7 @@ jobs: | |
tools: phive | ||
|
||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup problem matchers | ||
run: | | ||
|
@@ -155,7 +158,7 @@ jobs: | |
coverage: none | ||
|
||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup problem matchers | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🎉 Create release | ||
uses: googleapis/[email protected].1 | ||
uses: googleapis/[email protected].3 | ||
id: release | ||
with: | ||
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
|
||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -57,7 +57,7 @@ jobs: | |
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }} | ||
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
|
||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies | ||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer | ||
uses: wayofdev/gh-actions/actions/composer/[email protected] | ||
with: | ||
dependencies: ${{ matrix.dependencies }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -54,7 +54,7 @@ jobs: | |
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }} | ||
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
|
||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies | ||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer | ||
uses: wayofdev/gh-actions/actions/composer/[email protected] | ||
with: | ||
dependencies: ${{ matrix.dependencies }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -95,7 +95,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -121,7 +121,7 @@ jobs: | |
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }} | ||
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
|
||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies | ||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer | ||
uses: wayofdev/gh-actions/actions/composer/[email protected] | ||
with: | ||
dependencies: ${{ matrix.dependencies }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
|
||
name: 🧪 Unit testing | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
branches: | ||
|
@@ -10,6 +8,8 @@ on: # yamllint disable-line rule:truthy | |
branches: | ||
- master | ||
|
||
name: 🧪 Unit testing | ||
|
||
jobs: | ||
code-coverage: | ||
timeout-minutes: 4 | ||
|
@@ -28,7 +28,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -56,7 +56,7 @@ jobs: | |
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }} | ||
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
|
||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies | ||
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer | ||
uses: wayofdev/gh-actions/actions/composer/[email protected] | ||
with: | ||
dependencies: ${{ matrix.dependencies }} | ||
|
@@ -65,7 +65,7 @@ jobs: | |
run: composer test:cc | ||
|
||
- name: 📤 Upload code coverage report to Codecov | ||
uses: codecov/codecov-action@v4.4.1 | ||
uses: codecov/codecov-action@v4.5.0 | ||
with: | ||
files: .build/phpunit/logs/clover.xml | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
@@ -91,7 +91,7 @@ jobs: | |
- highest | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -148,7 +148,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
@@ -205,7 +205,7 @@ jobs: | |
- locked | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
|
||
- name: 🛠️ Setup PHP | ||
uses: shivammathur/[email protected] | ||
|
Oops, something went wrong.