Skip to content

Commit 5ed375d

Browse files
refacto github actions
1 parent a78658d commit 5ed375d

File tree

3 files changed

+33
-48
lines changed

3 files changed

+33
-48
lines changed

.github/dependabot.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
allow:
8+
- dependency-type: "all"
9+
groups:
10+
symfony:
11+
patterns:
12+
- "symfony*"
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
- package-ecosystem: "github-actions"
21+
directory: "/"
22+
schedule:
23+
interval: "weekly"

.github/workflows/php.yml

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

.github/workflows/super-linter.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
# It checks the syntax of the PHP code (using PHP-CS-Fixer)
22
name: "Linter: Code Syntax"
3-
4-
on:
5-
push:
6-
branches: [ main ]
7-
pull_request:
8-
branches: [ main ]
3+
on: [push, pull_request]
94
jobs:
10-
php-cs-fixer:
11-
name: PHP-CS-Fixer
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
# see https://github.com/OskarStark/php-cs-fixer-ga
16-
- name: PHP-CS-Fixer
17-
uses: docker://oskarstark/php-cs-fixer-ga
18-
with:
19-
args: --diff --dry-run
5+
php-cs-fixer:
6+
name: PHP-CS-Fixer
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: PHP-CS-Fixer
11+
uses: docker://oskarstark/php-cs-fixer-ga
12+
with:
13+
args: --config=.project.php_cs --dry-run

0 commit comments

Comments
 (0)