@@ -68,22 +68,28 @@ jobs:
6868
6969 - name : Download actionlint
7070 run : |
71- bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.26
71+ bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.7.6
7272
7373 - name : Load test image
7474 uses : guidojw/actions/load-docker-image@3ad963828827110a6b716a011f242bf01fdf1db4 # v1.4.7
7575 with :
7676 name : app
7777
7878 - name : Lint
79- env :
80- RAILS_MASTER_KEY : ${{ secrets.RAILS_MASTER_KEY }}
8179 run : |
8280 EXIT_STATUS=0
83- ./actionlint -ignore 'SC2153:' -ignore 'property "sha" is not defined in object type {}' || \
84- EXIT_STATUS=$?
85- docker run -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_HOST=localhost -e \
86- RAILS_MASTER_KEY --network=host app bin/ci.sh lint || EXIT_STATUS=$?
81+ ./actionlint \
82+ -ignore 'property "gh_app_private_key" is not defined' \
83+ -ignore 'SC2153:' \
84+ -ignore 'property "sha" is not defined in object type {}' || \
85+ EXIT_STATUS=$?
86+ docker run \
87+ -e POSTGRES_USER=postgres \
88+ -e POSTGRES_PASSWORD=postgres \
89+ -e POSTGRES_HOST=localhost \
90+ --network=host \
91+ app bin/ci.sh lint || \
92+ EXIT_STATUS=$?
8793 exit $EXIT_STATUS
8894
8995 test :
@@ -123,8 +129,15 @@ jobs:
123129 RAILS_MASTER_KEY : ${{ secrets.RAILS_MASTER_KEY }}
124130 run : |
125131 mkdir coverage
126- docker run -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_HOST=localhost -e \
127- RAILS_MASTER_KEY --network=host -v "$(pwd)"'/coverage:/app/coverage' app bin/ci.sh spec
132+ docker run \
133+ -e RAILS_MASTER_KEY \
134+ -e POSTGRES_USER=postgres \
135+ -e POSTGRES_PASSWORD=postgres \
136+ -e POSTGRES_HOST=localhost \
137+ --network=host \
138+ -v "$(pwd)"'/coverage:/app/coverage' \
139+ app bin/ci.sh spec
140+
128141
129142 - name : Upload coverage report to Codecov
130143 if : ${{ !cancelled() }}
0 commit comments