File tree 8 files changed +65
-44
lines changed
8 files changed +65
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
/.gitattributes export-ignore
2
2
/.github export-ignore
3
- /.circleci export-ignore
Original file line number Diff line number Diff line change
1
+ name : Main
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ php :
13
+ name : PHP ${{ matrix.php }}
14
+ runs-on : ubuntu-latest
15
+ if : " !contains(github.event.head_commit.message, '[ci skip]')"
16
+ strategy :
17
+ matrix :
18
+ php : ["7.4", "8.0"]
19
+
20
+ steps :
21
+ - name : Checkout the project
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Setup the PHP ${{ matrix.php }} environment on ${{ runner.os }}
25
+ uses : shivammathur/setup-php@v2
26
+ with :
27
+ php-version : ${{ matrix.php }}
28
+ coverage : xdebug
29
+ env :
30
+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+
32
+ - name : Restore the Composer cache directory
33
+ id : composercache
34
+ run : echo "::set-output name=dir::$(composer config cache-files-dir)"
35
+
36
+ - uses : actions/cache@v2
37
+ with :
38
+ path : ${{ steps.composercache.outputs.dir }}
39
+ key : ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
40
+ restore-keys : ${{ runner.os }}-${{ matrix.php }}-composer-
41
+
42
+ - name : Install Composer dependencies
43
+ run : composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest
44
+
45
+ - name : Execute the PHP lint script
46
+ run : composer run-script lint
Original file line number Diff line number Diff line change 1
1
# Sage SVG
2
2
3
3
[ ![ Latest Stable Version] ( https://poser.pugx.org/log1x/sage-svg/v/stable )] ( https://packagist.org/packages/log1x/sage-svg )
4
- ![ CircleCI ] ( https://img.shields.io/circleci/build/gh/Log1x /sage-svg.svg ?style=flat-square )
4
+ ![ Build Status ] ( https://img.shields.io/github/workflow/status/log1x /sage-svg/Main ?style=flat-square )
5
5
[ ![ Total Downloads] ( https://poser.pugx.org/log1x/sage-svg/downloads )] ( https://packagist.org/packages/log1x/sage-svg )
6
6
7
7
Sage SVG is a simple package for using inline SVGs in your Sage 10 projects.
8
8
9
9
## Requirements
10
10
11
11
- [ Sage] ( https://github.com/roots/sage ) >= 10.0
12
- - [ PHP] ( https://secure.php.net/manual/en/install.php ) >= 7.2.5
12
+ - [ PHP] ( https://secure.php.net/manual/en/install.php ) >= 7.4
13
13
- [ Composer] ( https://getcomposer.org/download/ )
14
14
15
15
## Installation
Original file line number Diff line number Diff line change 26
26
]
27
27
},
28
28
"require" : {
29
- "php" : " >=7.2.5 "
29
+ "php" : " ^7.4|^8.0 "
30
30
},
31
31
"require-dev" : {
32
32
"squizlabs/php_codesniffer" : " ^3.5"
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- use function Roots \base_path ;
3
+ use function Roots \public_path ;
4
4
5
5
return [
6
6
15
15
|
16
16
*/
17
17
18
- 'path ' => base_path ( ' dist ' ),
18
+ 'path ' => public_path ( ),
19
19
20
20
/*
21
21
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function boot()
44
44
protected function config ()
45
45
{
46
46
return collect ([
47
- 'path ' => $ this ->app ->basePath ( ' dist ' )
47
+ 'path ' => $ this ->app ->publicPath ( )
48
48
])
49
49
->merge ($ this ->app ->config ->get ('svg ' , []))
50
50
->all ();
You can’t perform that action at this time.
0 commit comments