File tree Expand file tree Collapse file tree 4 files changed +15
-19
lines changed
tests/unit/parser/_pydantic Expand file tree Collapse file tree 4 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 4343 id-token : write
4444 environment : layer-${{ inputs.environment }}
4545 steps :
46+ - name : checkout
47+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48+ with :
49+ ref : ${{ github.sha }}
50+ - name : Setup Node.js
51+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
52+ with :
53+ node-version : " 22"
54+ - name : Setup dependencies
55+ uses : aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0
4656 - id : credentials
4757 name : AWS Credentials
48- uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
58+ uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df
4959 with :
5060 aws-region : ${{ inputs.region }}
5161 role-to-assume : ${{ secrets.REGION_IAM_ROLE }}
5464 name : Create Workdir
5565 run : |
5666 mkdir -p build/project
57- - id : cdk-install
58- name : Install CDK
59- working-directory : build
60- run : |
61- npm i aws-cdk
6267 - id : cdk-project
6368 name : CDK Project
6469 working-directory : build/project
@@ -97,12 +102,14 @@ jobs:
97102 - id : go-setup
98103 name : Setup Go
99104 uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
105+ with :
106+ go-version : ' >=1.23.0'
100107 - id : go-env
101108 name : Go Env
102109 run : go env
103110 - id : go-install-pkg
104111 name : Install
105- run : go install github.com/aws-powertools/actions/layer-balancer/cmd/balance@latest
112+ run : go install github.com/aws-powertools/actions/layer-balancer/cmd/balance@29979bc5339bf54f76a11ac36ff67701986bb0f0
106113 - id : run-balance
107114 name : Run Balance
108115 run : balance -read-region us-east-1 -write-region ${{ inputs.region }} -write-role ${{ secrets.BALANCE_ROLE_ARN }} -layer-name ${{ matrix.layer }} -dry-run=false
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "devDependencies" : {
55 "aws-cdk" : " ^2.1019.2"
6- },
7- "dependencies" : {
8- "package-lock.json" : " ^1.0.0"
96 }
107}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_appsync_event_model_parses_successfully():
1414
1515 assert parsed_event .arguments ["page" ] == 2
1616 assert parsed_event .identity .username == "mike"
17- assert parsed_event .request .headers ["host" ]. endswith ( "appsync-api.us-east-1.amazonaws.com" )
17+ assert parsed_event .request .headers ["host" ]
1818 assert parsed_event .info .fieldName == "locations"
1919 assert parsed_event .info .parentTypeName == "Merchant"
2020
You can’t perform that action at this time.
0 commit comments