Skip to content

Commit e70acbd

Browse files
Pin dependencies
1 parent cca710d commit e70acbd

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
steps:
2828
- name: Checkout current branch (full)
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
3030
with:
3131
fetch-depth: 0
3232

3333
- name: Setup Java (temurin@11)
3434
if: matrix.java == 'temurin@11'
35-
uses: actions/setup-java@v2
35+
uses: actions/setup-java@91d3aa4956ec4a53e477c4907347b5e3481be8c9 # v2
3636
with:
3737
distribution: temurin
3838
java-version: 11
3939

4040
- name: Cache sbt
41-
uses: actions/cache@v2
41+
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
4242
with:
4343
path: |
4444
~/.sbt
@@ -50,7 +50,7 @@ jobs:
5050
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
5151

5252
- name: Install node 16
53-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
5454
with:
5555
node-version: 16
5656

@@ -64,7 +64,7 @@ jobs:
6464
run: tar cf targets.tar target generated/target models/target client/target project/target
6565

6666
- name: Upload target directories
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6868
with:
6969
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
7070
path: targets.tar
@@ -85,19 +85,19 @@ jobs:
8585
runs-on: ${{ matrix.os }}
8686
steps:
8787
- name: Checkout current branch (full)
88-
uses: actions/checkout@v2
88+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
8989
with:
9090
fetch-depth: 0
9191

9292
- name: Setup Java (temurin@11)
9393
if: matrix.java == 'temurin@11'
94-
uses: actions/setup-java@v2
94+
uses: actions/setup-java@91d3aa4956ec4a53e477c4907347b5e3481be8c9 # v2
9595
with:
9696
distribution: temurin
9797
java-version: 11
9898

9999
- name: Cache sbt
100-
uses: actions/cache@v2
100+
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
101101
with:
102102
path: |
103103
~/.sbt
@@ -109,7 +109,7 @@ jobs:
109109
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
110110

111111
- name: Download target directories (2.13.10)
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
113113
with:
114114
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
115115

@@ -119,7 +119,7 @@ jobs:
119119
rm targets.tar
120120
121121
- name: Install node 16
122-
uses: actions/setup-node@v3
122+
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
123123
with:
124124
node-version: 16
125125

@@ -129,13 +129,13 @@ jobs:
129129
- name: Get 1.0.x-SNAPSHOTS versionIds
130130
id: version
131131
if: github.ref == 'refs/heads/1.0.x'
132-
uses: castlabs/get-package-version-id-action@v2.0
132+
uses: castlabs/get-package-version-id-action@61097d3d0b65fa880de6de674e8b70e1fff6730b # v2.0
133133
with:
134134
version: 1.0.x-SNAPSHOT
135135

136136
- name: Deleting 1.0.x-SNAPSHOTS versions
137137
if: ${{ github.ref == 'refs/heads/1.0.x' && steps.version.outputs.ids != '' }}
138-
uses: actions/delete-package-versions@v2
138+
uses: actions/delete-package-versions@000223ef3eaa3505c63d4c610f57ef103bcab46d # v2
139139
with:
140140
package-version-ids: ${{ steps.version.outputs.ids }}
141141

@@ -146,15 +146,15 @@ jobs:
146146
run: sbt ++${{ matrix.scala }} publish
147147

148148
- name: Configure AWS Credentials
149-
uses: aws-actions/configure-aws-credentials@v1
149+
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
150150
with:
151151
aws-region: eu-central-1
152152
role-to-assume: 'arn:aws:iam::505630707203:role/interop-github-ecr-dev'
153153
role-session-name: interop-be-tenant-management-${{ github.job }}
154154

155155
- name: Login to Amazon ECR
156156
id: login-ecr
157-
uses: aws-actions/amazon-ecr-login@v1
157+
uses: aws-actions/amazon-ecr-login@2fc7aceee09e9e4a7105c0d060c656fad0b4f63d # v1
158158

159159
- name: Build, tag, and push image to Amazon ECR
160160
env:

src/it/resources/docker-compose-it.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.0'
22
services:
33
postgres:
4-
image: postgres:10.6
4+
image: postgres:10.6@sha256:1bd46192a12a1012d52f41186c83dc343b4b2d07ad9836fb37a08cdf22041537
55
ports:
66
- '54329:5432'
77
environment:
@@ -11,7 +11,7 @@ services:
1111
volumes:
1212
- ./postgre_init.sql:/docker-entrypoint-initdb.d/postgre_init.sql
1313
mongo:
14-
image: mongo:4.0.28
14+
image: mongo:4.0.28@sha256:4ca81c89ad08f4cfa9906005126112bffe8fb363800466ef5e50f6238f6f6af1
1515
ports:
1616
- '27019:27017'
1717
environment:

0 commit comments

Comments
 (0)