Compare commits
1 Commits
0c1a339063
...
f2273a0cdb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2273a0cdb |
1
.env.example
Normal file
1
.env.example
Normal file
@@ -0,0 +1 @@
|
||||
ENVIRONMENT=development
|
||||
@@ -23,12 +23,23 @@ jobs:
|
||||
- name: Validate composer.json
|
||||
run: composer validate
|
||||
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.20'
|
||||
|
||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||
id: get-hash
|
||||
with:
|
||||
patterns: |-
|
||||
go.sum
|
||||
**/composer.json
|
||||
|
||||
- name: Cache Composer packages
|
||||
id: composer-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: vendor
|
||||
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json') }}
|
||||
key: ${{ runner.os }}-php-${{ steps.get-hash.outputs.hash }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-php-
|
||||
|
||||
|
||||
4
Makefile
4
Makefile
@@ -5,6 +5,8 @@ up:
|
||||
|
||||
start: up composer-install
|
||||
|
||||
composer-install:
|
||||
"$(EXEC)" composer install
|
||||
stop:
|
||||
docker compose stop
|
||||
cmd:
|
||||
@@ -13,3 +15,5 @@ phpstan:
|
||||
"$(EXEC)" vendor/bin/phpstan analyse src --level 8
|
||||
cs-fix:
|
||||
"$(EXEC)" vendor/bin/php-cs-fixer fix --allow-risky=yes
|
||||
test:
|
||||
"$(EXEC)" vendor/bin/pest
|
||||
Reference in New Issue
Block a user