Skip to content

Commit fd19d68

Browse files
committed
feat: updating dependencies, renovate auto-merge
1 parent d0af120 commit fd19d68

File tree

12 files changed

+1843
-986
lines changed

12 files changed

+1843
-986
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
# this file is for the labeler workflow job
3+
# Documentation https://github.com/marketplace/actions/labeler
4+
5+
'type: documentation':
6+
- assets/**/*
7+
- .github/*
8+
- ./*.md
9+
10+
'type: maintenance':
11+
- .github/**/*
12+
- tests/**/*
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
3+
# https://github.com/peter-evans/enable-pull-request-automerge
4+
5+
on: # yamllint disable-line rule:truthy
6+
pull_request:
7+
8+
permissions:
9+
pull-requests: write
10+
contents: write
11+
12+
name: 🤞 Auto merge release
13+
14+
jobs:
15+
auto-merge:
16+
if: github.actor == 'lotyp' && startsWith(github.head_ref, 'release-please--')
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: 🤞 Auto-merge pull request
20+
uses: peter-evans/enable-pull-request-automerge@v3
21+
with:
22+
pull-request-number: ${{ github.event.pull_request.number }}
23+
merge-method: merge
24+
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
25+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
26+
27+
...

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22

3-
name: ci
4-
53
on: # yamllint disable-line rule:truthy
64
push:
75
branches:
@@ -10,20 +8,22 @@ on: # yamllint disable-line rule:truthy
108
branches:
119
- master
1210

11+
name: 🔍 Continuous integration
12+
1313
jobs:
1414
integration:
15-
name: Testing on PHP ${{ matrix.php }} - ${{ matrix.os }}
1615
runs-on: ${{ matrix.os }}
1716
strategy:
1817
fail-fast: true
1918
matrix:
2019
os: ["ubuntu-22.04"]
2120
php: ["8.1"]
21+
2222
steps:
23-
- name: Check out the codebase
23+
- name: 📦 Check out the codebase
2424
uses: actions/checkout@v3
2525

26-
- name: Setup PHP
26+
- name: ⚙️ Setup PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
2929
php-version: ${{ matrix.php }}
@@ -32,29 +32,29 @@ jobs:
3232
tools: composer:v2
3333
coverage: none
3434

35-
- name: Setup problem matchers
35+
- name: 🛠️ Setup problem matchers
3636
run: |
3737
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
3838
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3939
40-
- name: Load cached dependencies
40+
- name: ♻️ Load cached dependencies
4141
id: cached-composer-dependencies
4242
uses: actions/cache@v3
4343
with:
4444
path: vendor
4545
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
4646

47-
- name: Install dependencies
47+
- name: 📥 Install dependencies
4848
if: steps.cached-composer-dependencies.outputs.cache-hit != 'true'
4949
run: composer install
5050

51-
- name: Run coding standards task
51+
- name: 🚨 Run coding standards task
5252
run: make cs-diff
5353

54-
- name: Execute phpunit and pest tests
54+
- name: 🧪 Execute phpunit and pest tests
5555
run: make test
5656

57-
- name: Run static analysis using phpstan
57+
- name: 🔍 Run static analysis using phpstan
5858
run: make stan
5959
env:
6060
PHPSTAN_OUTPUT_FORMAT: github
File renamed without changes.

.github/workflows/label.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow will triage pull requests and apply a label based on the
2+
# paths that are modified in the pull request.
3+
#
4+
# To use this workflow, you will need to set up a .github/labeler.yml
5+
# file with configuration. For more information, see:
6+
# https://github.com/actions/labeler/blob/master/README.md
7+
8+
on: # yamllint disable-line rule:truthy
9+
pull_request:
10+
11+
name: 🏷️ Add labels
12+
13+
jobs:
14+
label:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: 🏷️ Apply labels
18+
uses: actions/labeler@v4
19+
with:
20+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
21+
22+
...

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v4.4.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-added-large-files
1010
- id: fix-encoding-pragma
1111

1212
- repo: https://github.com/commitizen-tools/commitizen
13-
rev: v2.28.0
13+
rev: v2.42.1
1414
hooks:
1515
- id: commitizen
1616
stages:

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,3 @@ hooks: ## Install git hooks from pre-commit-config
103103
pre-commit install
104104
pre-commit autoupdate
105105
.PHONY: hooks
106-
107-
# Docker Actions
108-
# ------------------------------------------------------------------------------------
109-
ssh: ## Login inside running docker container
110-
$(DOCKER_CONNECT) sh
111-
.PHONY: ssh

composer.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@
1818
"php": "^8.1"
1919
},
2020
"require-dev": {
21-
"ergebnis/composer-normalize": "^2.28",
22-
"pestphp/pest": "^1.21",
23-
"phpstan/extension-installer": "^1.1",
24-
"phpstan/phpstan": "^1.8",
25-
"phpstan/phpstan-deprecation-rules": "^1.0",
26-
"phpstan/phpstan-phpunit": "^1.2",
27-
"phpstan/phpstan-strict-rules": "^1.3",
28-
"phpunit/phpunit": "^9.5",
21+
"ergebnis/composer-normalize": "^2.30.2",
22+
"pestphp/pest": "^2.4.0",
23+
"jetbrains/phpstorm-attributes": "^1.0",
24+
"phpstan/extension-installer": "^1.2.0",
25+
"phpstan/phpstan": "^1.10.11",
26+
"phpstan/phpstan-deprecation-rules": "^1.1.3",
27+
"phpstan/phpstan-phpunit": "^1.3.11",
28+
"phpstan/phpstan-strict-rules": "^1.5.1",
29+
"phpunit/phpunit": "^10.0.19",
2930
"roave/security-advisories": "dev-latest",
30-
"wayofdev/cs-fixer-config": "^1.0"
31+
"wayofdev/cs-fixer-config": "^v1.1.11"
3132
},
3233
"autoload": {
3334
"psr-4": {

0 commit comments

Comments
 (0)