Skip to content

Commit

Permalink
Merge pull request #7 from wireui/update-icons
Browse files Browse the repository at this point in the history
Update icons
  • Loading branch information
ph7jack authored Feb 19, 2024
2 parents 17d0844 + d0e8189 commit 3129d5c
Show file tree
Hide file tree
Showing 16 changed files with 2,618 additions and 1,289 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/generate-icons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Generate Icons

on:
workflow_dispatch:

jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Set up Git
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
- name: Run generate-icons.sh
run: |
chmod +x ./generate-icons.sh
./generate-icons.sh
- name: Create new branch
run: |
BRANCH_NAME="icons-update-$(date +%Y-%m-%d-%H-%M-%S)"
git checkout -b $BRANCH_NAME
- name: Commit and push changes
run: |
git add .
git commit -m 'Automatically generated icons'
git push origin HEAD
- name: Open a pull request
uses: repo-sync/pull-request@v2
with:
destination_branch: 'main'
pr_title: 'Automatically Generated Icons Update'
pr_body: 'This is an auto-generated PR with icon updates.'
github_token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2]
laravel: [9.*, 10.*]
php: [8.1, 8.2, 8.3]
laravel: [10.*]

name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --no-suggest
composer update --with-all-dependencies --no-interaction
- name: Run PHPUnit tests
run: composer test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
.vscode
.php-cs-fixer.cache
.phpunit.result.cache
.phpunit.cache
coverage
vendor
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1|^8.2",
"laravel/framework": "^9.52|^10.0",
"laravel/pint": "^1.6"
"php": "^8.1|^8.2|^8.3",
"laravel/framework": "^9.52|^10.0"
},
"require-dev": {
"orchestra/testbench": "^7.2|^8.0",
"phpunit/phpunit": "^9.6",
"pestphp/pest": "^1.22",
"orchestra/testbench": "^8.0",
"laravel/pint": "^1.6",
"phpunit/phpunit": "^10.5",
"pestphp/pest": "^2.0",
"mockery/mockery": "^1.5",
"phpstan/phpstan": "^1.10",
"nunomaduro/larastan": "^2.5"
"larastan/larastan": "^2.9"
},
"scripts": {
"test": "./vendor/bin/pest --coverage --min=100",
"test": "./vendor/bin/pest --coverage --min=100 --parallel",
"phpstan": "./vendor/bin/phpstan analyse src --level max",
"pint:fix": "./vendor/bin/pint",
"pint:check": "./vendor/bin/pint --test",
Expand Down
Loading

0 comments on commit 3129d5c

Please sign in to comment.