This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed
Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : ' YAML Lint'
23on :
34 - pull_request
Original file line number Diff line number Diff line change 1+ ---
12name : ' ShellCheck'
23on :
34 - pull_request
67 runs-on : ubuntu-latest
78 steps :
89 - uses : actions/checkout@v1
9- - name : Run the sh-checker
10+ - name : ' Run the ShellCheck '
1011 uses : luizm/action-sh-checker@v0.1.4
1112 env :
1213 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13- SHELLCHECK_OPTS : -e SC2164 SC2162 SC2016 SC1090 # It is posible to exclude some shellcheck warnings.
14+ SHELLCHECK_OPTS : -e SC2164 SC2162 SC2016 SC1090 # exclude shellcheck warnings.
1415 with :
1516 sh_checker_comment : true
1617 sh_checker_shfmt_disable : true
Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ services:
88 container_name : php74
99 depends_on :
1010 - database
11- ports :
11+ ports :
1212 - " 80:80"
13- volumes :
13+ volumes :
1414 - " ./php:/var/www/html"
15- database :
15+ database :
1616 command : " --default-authentication-plugin=mysql_native_password"
1717 container_name : mysql8
18- environment :
18+ environment :
1919 MYSQL_DATABASE : defaultdb
2020 MYSQL_ROOT_PASSWORD : " rootPass"
2121 MYSQL_USER : " dbuser"
2222 MYSQL_PASSWORD : " dbuserpassword"
2323 image : " mysql:8.0.21"
24- ports :
24+ ports :
2525 - " 6033:3306"
2626 restart : always
Original file line number Diff line number Diff line change 11---
22version : " 3.8"
3- services :
4- web :
5- build :
3+ services :
4+ web :
5+ build :
66 context : ./php
77 dockerfile : Dockerfile
88 container_name : php74
99 depends_on :
1010 - database
11- ports :
11+ ports :
1212 - " 80:80"
13- volumes :
13+ volumes :
1414 - " ./php:/var/www/html"
15- database :
15+ database :
1616 command : " --default-authentication-plugin=mysql_native_password"
1717 container_name : mysql8
18- environment :
18+ environment :
1919 MYSQL_DATABASE : defaultdb
2020 MYSQL_ROOT_PASSWORD : " rootPass"
2121 MYSQL_USER : " dbuser"
2222 MYSQL_PASSWORD : " dbuserpassword"
2323 image : " mysql:8.0.21"
24- ports :
24+ ports :
2525 - " 6033:3306"
2626 restart : always
27-
You can’t perform that action at this time.
0 commit comments