From 2b15bc3e269cb2aa5c983e9a2d64c45de54ddac1 Mon Sep 17 00:00:00 2001 From: Marcel Hernandez Date: Wed, 17 Apr 2024 00:52:27 +0200 Subject: [PATCH] fix pipeline --- .github/workflows/{php-ci.yml => ci.yml} | 8 ++++---- README.md | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) rename .github/workflows/{php-ci.yml => ci.yml} (53%) diff --git a/.github/workflows/php-ci.yml b/.github/workflows/ci.yml similarity index 53% rename from .github/workflows/php-ci.yml rename to .github/workflows/ci.yml index d5626ba..5441cb6 100644 --- a/.github/workflows/php-ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,10 @@ -name: Frontend CI +name: Continuous Integration on: push jobs: run: - name: Frontend Continuous Integration + name: Frontend CI runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -13,5 +13,5 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: 8.3 - - run: composer install - - run: php vendor/bin/php-cs-fixer check -v + - run: composer install -d frontend + - run: php frontend/vendor/bin/php-cs-fixer check --config frontend/.php-cs-fixer.php -v diff --git a/README.md b/README.md index b498637..f15ae81 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# bitcoin-grouphug +# bitcoin-grouphug [![CI](https://github.com/polespinasa/bitcoin-grouphug/actions/workflows/ci.yml/badge.svg)](https://github.com/polespinasa/bitcoin-grouphug/actions/workflows/ci.yml) + Group Hug Server for Bitcoin transactions