File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Imports
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ check_imports :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Cache Composer packages
21
+ id : composer-cache
22
+ uses : actions/cache@v3
23
+ with :
24
+ path : vendor
25
+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
26
+ restore-keys : |
27
+ ${{ runner.os }}-php-
28
+
29
+ - name : Install dependencies
30
+ run : composer install --prefer-dist --no-progress && composer require imanghafoori/php-imports-analyzer --dev
31
+
32
+ - name : Check Imports
33
+ run : ./vendor/bin/check_imports
Original file line number Diff line number Diff line change 3
3
![ Downloads] ( https://img.shields.io/packagist/dt/akaunting/laravel-money )
4
4
![ Tests] ( https://img.shields.io/github/actions/workflow/status/akaunting/laravel-money/tests.yml?label=tests )
5
5
[ ![ StyleCI] ( https://github.styleci.io/repos/112121508/shield?style=flat&branch=master )] ( https://styleci.io/repos/112121508 )
6
+ [ ![ Check Imports] ( https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml/badge.svg?branch=master )] ( https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml )
6
7
[ ![ License] ( https://img.shields.io/github/license/akaunting/laravel-money )] ( LICENSE.md )
7
8
8
- This package intends to provide tools for formatting and conversion monetary values in an easy, yet powerful way for Laravel projects.
9
+ This package intends to provide tools for formatting and conversion of monetary values in an easy, yet powerful way for Laravel projects.
9
10
10
11
### Why not use the ` moneyphp ` package?
11
12
Original file line number Diff line number Diff line change 5
5
use Akaunting \Money \Currency ;
6
6
use Akaunting \Money \Rules \CurrencyRule ;
7
7
use Akaunting \Money \Tests \TestCase ;
8
- use Illuminate \Support \Facades \Lang ;
9
8
10
9
class CurrencyRuleTest extends TestCase
11
10
{
You can’t perform that action at this time.
0 commit comments