File tree Expand file tree Collapse file tree 3 files changed +30
-17
lines changed
Expand file tree Collapse file tree 3 files changed +30
-17
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 account : ${{ inputs.account }}
2828 region : ${{ inputs.region }}
29- stacks : MewlerLiquidationBotStack
29+ stacks : MewlerLiquidationBotStack
Original file line number Diff line number Diff line change 2929
3030 synth :
3131 if : github.event_name == 'pull_request'
32- name : Dry Run | Production
33- uses : ./.github/workflows/synth .yaml
32+ name : Dry Run | Test
33+ uses : ./.github/workflows/test .yaml
3434 with :
3535 account : " 730335381248"
36- region : " ap-northeast-1"
36+ region : " ap-northeast-1"
37+
38+ build :
39+ if : github.event_name == 'pull_request'
40+ name : Build | Test
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ with :
45+ submodules : recursive
46+
47+ - name : Build Docker Image
48+ run : docker build -t mewler-liquidation-bot .
Original file line number Diff line number Diff line change 1- name : Workflow | Deploy backend
1+ name : Workflow | Test backend
22
33on :
4- workflow_call :
5- inputs :
6- account :
7- required : true
8- type : string
9- default : " 730335381248"
10- region :
11- required : true
12- type : string
13- default : " ap-northeast-1"
4+ workflow_call :
5+ inputs :
6+ account :
7+ required : false
8+ type : string
9+ default : " 730335381248"
10+ region :
11+ required : false
12+ type : string
13+ default : " ap-northeast-1"
1414
1515jobs :
1616 liquidator-backend :
1717 runs-on : ubuntu-latest
1818 timeout-minutes : 60
1919 steps :
20- - name : Checkout
20+ - name : Test
2121 uses : actions/checkout@v4
2222 with :
2323 submodules : " recursive"
24-
24+ - name : Build Docker Image
25+ run : docker build -t mewler-liquidation-bot .
2526 - uses : ./.github/actions/cdk-synth
2627 with :
2728 account : ${{ inputs.account }}
You can’t perform that action at this time.
0 commit comments