This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
generated from Sikessem/skeleton
-
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.
- Loading branch information
Showing
13 changed files
with
5,725 additions
and
1,941 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
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,56 +1,60 @@ | ||
name: CI | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: ['push', 'pull_request'] | ||
|
||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest] | ||
php: [8.1, 8.2] | ||
dependency-version: [prefer-lowest, prefer-stable] | ||
|
||
name: Tests PHP-${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} | ||
dependencies: [lowest, highest] | ||
experimental: [false] | ||
name: 👷 CI PHP-${{ matrix.php }} ${{ matrix.dependencies }} on ${{ matrix.os }} | ||
|
||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache dependencies | ||
id: composer-cache | ||
run: | | ||
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-composer- | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, mbstring, zip | ||
coverage: none | ||
tools: vimeo/psalm | ||
|
||
- name: Install Composer dependencies | ||
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist | ||
|
||
- name: 🧹 Check code lint | ||
run: composer lint | ||
|
||
- name: ⚗️ Run static analysis | ||
run: | | ||
composer analyse | ||
composer inspect | ||
- name: ✅ Run unit tests | ||
run: composer test | ||
|
||
- name: 🐛 Check all code bugs | ||
run: composer debug | ||
- name: 🚚 Get latest code | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📂 Cache dependencies | ||
id: composer-cache | ||
run: | | ||
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-dependencies-php-${{ matrix.php }}-composer- | ||
- name: ⚡️ Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: curl, dom, gd, intl, mbstring, openssl, tokenizer, zip | ||
ini-values: error_reporting=E_ALL | ||
tools: composer:v2, php-cs-fixer, phpunit, vimeo/psalm | ||
coverage: pcov | ||
|
||
- name: 🍱 Install Composer dependencies | ||
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist | ||
|
||
- name: ✅ Check code lint | ||
run: composer lint | ||
|
||
- name: ⚗️ Run static analysis | ||
run: | | ||
composer analyse | ||
composer inspect | ||
- name: 🧪 Run unit tests | ||
run: composer test | ||
|
||
- name: 🐛 Check all code bugs | ||
run: composer debug |
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,7 @@ | ||
# Release Notes for the Sikessem Skeleton | ||
# Release Notes for the Sikessem Values | ||
|
||
All notable changes to [Skeleton](https://github.com/sikessem/skeleton) will be documented in this file. | ||
All notable changes to [Values](https://github.com/sikessem/values) will be documented in this file. | ||
|
||
## [Unreleased](https://github.com/sikessem/skeleton/compare/v0.0.0...HEAD) | ||
## [Unreleased](https://github.com/sikessem/values/compare/v0.0.0...HEAD) | ||
|
||
**Full Changelog:** [v0.0.0...v0.x](https://github.com/sikessem/skeleton/compare/v0.0.0...v0.x) | ||
**Full Changelog:** [v0.0.0...v0.x](https://github.com/sikessem/values/compare/v0.0.0...v0.x) |
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.