Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit ffdffe6

Browse files
committed
Add Github workflow badge
1 parent 64483f9 commit ffdffe6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
echo "::set-output name=dir::$(composer config cache-files-dir)"
4545
- uses: actions/cache@v2
4646
with:
47-
path: ${{ steps.composer-cache.outputs.dir }}
47+
path: |
48+
${{ steps.composer-cache.outputs.dir }}
49+
**/composer.lock
4850
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
4951
restore-keys: |
5052
${{ runner.os }}-composer-

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Checks if the `vendor/` directory is consistent with project's `composer.lock` (
33

44
`composer.json` <== (synchronized) ==> `/vendor`
55

6+
![Code Analysis](https://github.com/jakubboucek/php-composer-consistency/workflows/Code%20Analysis/badge.svg)
7+
68
## About
79
For small teams can be difficult to cooperate and keep `/vendor` directory synchronized with requirements
810
in `composer.json`. Your colleagues can be a junior or can be not accustomed to right use the Composer and often forgot

0 commit comments

Comments
 (0)