Skip to content

Commit d83afd2

Browse files
authored
Merge pull request #15 from infocyph/feature/update
build update
2 parents 91cc1b8 + 841da25 commit d83afd2

16 files changed

Lines changed: 628 additions & 626 deletions

.gitattributes

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
tests export-ignore
2-
docs export-ignore
3-
.github export-ignore
4-
.readthedocs.yaml export-ignore
5-
captainhook.json export-ignore
6-
phpunit.xml export-ignore
7-
pint.json export-ignore
8-
rector.php export-ignore
1+
tests export-ignore
2+
docs export-ignore
3+
.github export-ignore
4+
.readthedocs.yaml export-ignore
5+
captainhook.json export-ignore
6+
phpunit.xml export-ignore
7+
pint.json export-ignore
8+
rector.php export-ignore

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version: 2
2-
updates:
3-
- package-ecosystem: "composer" # See documentation for possible values
4-
directory: "/" # Location of package manifests
5-
schedule:
6-
interval: "daily"
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"

.github/workflows/build.yml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,42 @@
1-
name: "build"
2-
3-
on:
4-
schedule:
5-
- cron: '0 0 * * 0'
6-
push:
7-
branches: [ '*' ]
8-
pull_request:
9-
branches: [ "main", "master", "develop" ]
10-
11-
jobs:
12-
run:
13-
runs-on: ${{ matrix.operating-system }}
14-
strategy:
15-
matrix:
16-
operating-system: [ ubuntu-latest ]
17-
php-versions: [ '8.2' , '8.3' ]
18-
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
22-
23-
- name: Install PHP
24-
uses: shivammathur/setup-php@v2
25-
with:
26-
php-version: ${{ matrix.php-versions }}
27-
tools: composer:v2
28-
coverage: xdebug
29-
30-
- name: Validate composer.json and composer.lock
31-
run: composer validate --strict
32-
33-
- name: Install dependencies
34-
run: composer install --no-interaction --prefer-dist --no-progress
35-
36-
- name: Package Audit
37-
run: composer audit
38-
39-
- name: Test
1+
name: "Security & Standards"
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
6+
push:
7+
branches: [ '*' ]
8+
pull_request:
9+
branches: [ "main", "master", "develop" ]
10+
11+
jobs:
12+
run:
13+
runs-on: ${{ matrix.operating-system }}
14+
strategy:
15+
matrix:
16+
operating-system: [ ubuntu-latest ]
17+
php-versions: [ '8.2' , '8.3' ]
18+
dependency-version: [ prefer-lowest, prefer-stable ]
19+
20+
name: PHP ${{ matrix.php-versions }} - ${{ matrix.operating-system }} - ${{ matrix.dependency-version }}
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Install PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php-versions }}
29+
tools: composer:v2
30+
coverage: xdebug
31+
32+
- name: Validate composer.json and composer.lock
33+
run: composer validate --strict
34+
35+
- name: Install dependencies
36+
run: composer install --no-interaction --prefer-dist --no-progress
37+
38+
- name: Package Audit
39+
run: composer audit
40+
41+
- name: Test
4042
run: composer tests

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
vendor
2-
.idea
3-
composer.lock
4-
git-story_media
5-
test.php
1+
vendor
2+
.idea
3+
composer.lock
4+
git-story_media
5+
test.php

LICENSE

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2024 Infocyph
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2024 Infocyph
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)