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 43
43
id-token : write
44
44
environment : layer-${{ inputs.environment }}
45
45
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
46
56
- id : credentials
47
57
name : AWS Credentials
48
- uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
58
+ uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df
49
59
with :
50
60
aws-region : ${{ inputs.region }}
51
61
role-to-assume : ${{ secrets.REGION_IAM_ROLE }}
54
64
name : Create Workdir
55
65
run : |
56
66
mkdir -p build/project
57
- - id : cdk-install
58
- name : Install CDK
59
- working-directory : build
60
- run : |
61
- npm i aws-cdk
62
67
- id : cdk-project
63
68
name : CDK Project
64
69
working-directory : build/project
@@ -97,12 +102,14 @@ jobs:
97
102
- id : go-setup
98
103
name : Setup Go
99
104
uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
105
+ with :
106
+ go-version : ' >=1.23.0'
100
107
- id : go-env
101
108
name : Go Env
102
109
run : go env
103
110
- id : go-install-pkg
104
111
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
106
113
- id : run-balance
107
114
name : Run Balance
108
115
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 3
3
"version" : " 1.0.0" ,
4
4
"devDependencies" : {
5
5
"aws-cdk" : " ^2.1019.2"
6
- },
7
- "dependencies" : {
8
- "package-lock.json" : " ^1.0.0"
9
6
}
10
7
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_appsync_event_model_parses_successfully():
14
14
15
15
assert parsed_event .arguments ["page" ] == 2
16
16
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" ]
18
18
assert parsed_event .info .fieldName == "locations"
19
19
assert parsed_event .info .parentTypeName == "Merchant"
20
20
You can’t perform that action at this time.
0 commit comments