File tree Expand file tree Collapse file tree 4 files changed +35
-73
lines changed Expand file tree Collapse file tree 4 files changed +35
-73
lines changed Original file line number Diff line number Diff line change 15
15
test :
16
16
runs-on : ubuntu-latest
17
17
steps :
18
- - uses : actions/checkout@v4
19
- - uses : actions/setup-node@v3
18
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19
+ - uses : actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
20
20
with :
21
21
node-version : ' 16'
22
22
- name : Install
31
31
runs-on : ubuntu-latest
32
32
needs : test
33
33
steps :
34
- - uses : actions/checkout@v4
34
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35
35
- run : docker pull pactfoundation/pact-cli:latest
36
36
- name : Can I deploy?
37
37
run : GIT_BRANCH=${GIT_REF:11} make can_i_deploy
41
41
runs-on : ubuntu-latest
42
42
needs : can-i-deploy
43
43
steps :
44
- - uses : actions/checkout@v4
44
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
45
45
- run : docker pull pactfoundation/pact-cli:latest
46
46
- name : Deploy
47
47
run : GIT_BRANCH=${GIT_REF:11} make deploy
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3"
2
2
3
3
services :
4
4
pact-broker :
5
- image : pactfoundation/pact-broker:latest-multi
5
+ image : pactfoundation/pact-broker:latest-multi@sha256:5261a9ee7176d76d77d19d3781be67827b231bed353c2cc2aacafb5eb5a6ee70
6
6
links :
7
7
- postgres
8
8
ports :
@@ -18,7 +18,7 @@ services:
18
18
PACT_BROKER_DATABASE_CONNECT_MAX_RETRIES : " 10"
19
19
PACT_BROKER_PUBLIC_HEARTBEAT : " true"
20
20
postgres :
21
- image : postgres
21
+ image : postgres@sha256:6e3358e46e34dae6c184f48fd06fe1b3dbf958ad5b83480031907e52b9ec2a7d
22
22
healthcheck :
23
23
test : psql postgres --command "select 1" -U postgres
24
24
ports :
Original file line number Diff line number Diff line change 13
13
"pact:publish" : " pact-broker publish pacts --consumer-app-version=\" $(./node_modules/.bin/absolute-version-from-git-tag)\" --auto-detect-version-properties --broker-base-url=http://localhost:8000"
14
14
},
15
15
"devDependencies" : {
16
- "@pact-foundation/pact" : " ^ 12.1.0" ,
17
- "eslint" : " ^ 8.51.0" ,
18
- "jest" : " ^ 29.7.0" ,
19
- "absolute-version" : " ^ 1.0.2"
16
+ "@pact-foundation/pact" : " 12.1.0" ,
17
+ "eslint" : " 8.51.0" ,
18
+ "jest" : " 29.7.0" ,
19
+ "absolute-version" : " 1.0.2"
20
20
},
21
21
"license" : " ISC"
22
22
}
You can’t perform that action at this time.
0 commit comments