ci2 #3

Merged
n merged 3 commits from ci2 into main 2024-09-14 21:24:36 +02:00
8 changed files with 28 additions and 21 deletions

View file

@ -1,3 +1,4 @@
---
name: lint
run-name: lint is launched by ${{ github.actor }}
on: [push]
@ -7,7 +8,7 @@ jobs:
name: lint
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Forgejo!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
@ -24,4 +25,3 @@ jobs:
- name: PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --verbose --diff .
- run: echo "🍏 This job's status is ${{ job.status }}."

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
modules/goldbook/*.csv
modules/timers/*.csv
tmp/
vendor/
composer.*

5
.php-cs-fixer.php Normal file
View file

@ -0,0 +1,5 @@
<?php
return (new PhpCsFixer\Config())
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
;