-
-
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.
Remove obsolete file and add composer.lock
Deleted the obsolete 'beaver' file and added a new 'composer.lock' file to lock project dependencies. This ensures consistent builds and aids in dependency management.
- Loading branch information
Showing
12 changed files
with
5,766 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Contributing | ||
|
||
First of all, **thank you** for contributing. | ||
|
||
Bugs or feature requests can be posted online on the GitHub issues section of the project. | ||
|
||
Few rules to ease code reviews and merges: | ||
|
||
- You MUST follow the [PSR-12](http://www.php-fig.org/psr/psr-12/) coding standards. | ||
- You MUST run the test suite. | ||
- You MUST write (or update) unit tests when bugs are fixed or features are added. | ||
- You SHOULD write documentation. | ||
|
||
We use [Git-Flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) to automate our git branching | ||
workflow. | ||
|
||
To contribute use [Pull Requests](https://help.github.com/articles/using-pull-requests), please, write commit messages | ||
that make sense, and rebase your branch before submitting your PR. | ||
|
||
May be asked to squash your commits too. This is used to "clean" your Pull Request before merging it, avoiding commits | ||
such as fix tests, fix 2, fix 3, etc. |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: Spomky | ||
patreon: FlorentMorselli |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Target branch: | ||
Resolves issue # <!-- #-prefixed issue number(s), if any --> | ||
|
||
<!-- replace space with "x" in square brackets: [x] --> | ||
- [ ] It is a Bug fix | ||
- [ ] It is a New feature | ||
- [ ] Breaks BC | ||
- [ ] Includes Deprecations | ||
|
||
<!-- | ||
Fill in this template according to the PR you're about to submit. | ||
Replace this comment by a description of what your PR is solving. | ||
Please consider the following requirement: | ||
* Modification of existing tests should be avoided unless deemed necessary. | ||
* You MUST never open a PR related to a security issue. Contact Spomky in private at https://gitter.im/Spomky/ | ||
--> |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "friday" | ||
versioning-strategy: "widen" | ||
open-pull-requests-limit: 20 | ||
allow: | ||
- dependency-type: all | ||
labels: [ "dependencies" ] | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
open-pull-requests-limit: 20 | ||
labels: [ "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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
daysUntilStale: 30 | ||
daysUntilClose: 7 | ||
staleLabel: wontfix | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
closeComment: false |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
matrix: | ||
php: ['8.3'] | ||
arch: ['x86_64'] | ||
os: ['linux'] | ||
|
||
steps: | ||
- name: 'Checkout Code' | ||
uses: 'actions/checkout@v4' | ||
|
||
- name: 'Setup PHP' | ||
uses: 'shivammathur/setup-php@v2' | ||
with: | ||
php-version: '8.3' | ||
extensions: intl, zip, zlib | ||
coverage: none | ||
ini-values: memory_limit=1G, phar.readonly=0 | ||
|
||
- name: 'Setup Composer Token' | ||
run: | | ||
if [ ! -z '${{ secrets.COMPOSER_TOKEN }}' ]; then | ||
composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }} | ||
fi | ||
- name: 'Compile the application (Linux)' | ||
run: | | ||
vendor/bin/castor repack --os={{ matrix.os }} --app-name=beaver --app-version=${{ github.ref_name }} | ||
vendor/bin/castor compile beaver.linux.phar --php-version=${{ matrix.php }} --arch={{ matrix.arch }} --os={{ matrix.os }} | ||
- name: 'Move applications' | ||
run: mv beaver.* ./bin/ | ||
|
||
- name: 'Install Project Dependencies' | ||
run: composer install --no-interaction --no-ansi --no-progress | ||
|
||
- name: 'Create Release' | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: ${{ github.ref_name }} | ||
tag: ${{ github.ref_name }} | ||
body: 'Next stable release.' | ||
allowUpdates: true | ||
artifacts: 'bin/*' | ||
artifactContentType: application/x-php |
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,2 +1 @@ | ||
/vendor/ | ||
/composer.lock |
Empty file.
Binary file not shown.
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
Oops, something went wrong.