Skip to content

Commit 7297713

Browse files
andreaangiolillogithub-actionsEspenAlbertdependabot[bot]
authored
chore(deps): upgrade dependencies (#389)
Signed-off-by: github-actions <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Espen Albert <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 99f6d40 commit 7297713

File tree

11 files changed

+1592
-1305
lines changed

11 files changed

+1592
-1305
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/code-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> "${GITHUB_OUTPUT}"
7171
- name: Upload patch
7272
if: steps.self_mutation.outputs.self_mutation_happened
73-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
73+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
7474
with:
7575
name: .repo.patch
7676
path: .repo.patch

.github/workflows/package.yml

Lines changed: 42 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ jobs:
2020
run: yarn install --check-files
2121
- name: build
2222
run: npx projen build
23-
- name: Backup artifact permissions
24-
run: cd dist && getfacl -R . > permissions-backup.acl
25-
continue-on-error: true
26-
- name: Upload artifact
27-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
28-
with:
29-
name: build-artifact
30-
path: dist
3123
package-js:
3224
needs: build
3325
runs-on: ubuntu-latest
@@ -36,20 +28,15 @@ jobs:
3628
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
3729
with:
3830
node-version: 18.x
39-
- name: Download build artifacts
40-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
41-
with:
42-
name: build-artifact
43-
path: dist
44-
- name: Restore build artifact permissions
45-
run: cd dist && setfacl --restore=permissions-backup.acl
46-
continue-on-error: true
47-
- name: Prepare Repository
48-
run: mv dist .repo
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
with:
34+
ref: ${{ github.event.pull_request.head.ref }}
35+
repository: ${{ github.event.pull_request.head.repo.full_name }}
4936
- name: Install Dependencies
50-
run: cd .repo && yarn install --check-files --frozen-lockfile
37+
run: yarn install --check-files --frozen-lockfile
5138
- name: Create js artifact
52-
run: cd .repo && npx projen package:js
39+
run: npx projen compile && npx projen package:js
5340
package-java:
5441
needs: build
5542
runs-on: ubuntu-latest
@@ -62,93 +49,74 @@ jobs:
6249
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
6350
with:
6451
node-version: 18.x
65-
- name: Download build artifacts
66-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
67-
with:
68-
name: build-artifact
69-
path: dist
70-
- name: Restore build artifact permissions
71-
run: cd dist && setfacl --restore=permissions-backup.acl
72-
continue-on-error: true
73-
- name: Prepare Repository
74-
run: mv dist .repo
52+
- name: Checkout
53+
uses: actions/checkout@v4
54+
with:
55+
ref: ${{ github.event.pull_request.head.ref }}
56+
repository: ${{ github.event.pull_request.head.repo.full_name }}
7557
- name: Install Dependencies
76-
run: cd .repo && yarn install --check-files --frozen-lockfile
58+
run: yarn install --check-files --frozen-lockfile
7759
- name: Create java artifact
78-
run: cd .repo && npx projen package:java
60+
run: npx projen compile && npx projen package:java
7961
package-python:
8062
needs: build
8163
runs-on: ubuntu-latest
8264
permissions: {}
8365
steps:
66+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
67+
with:
68+
python-version: 3.x
8469
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
8570
with:
8671
node-version: 18.x
87-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
72+
- name: Checkout
73+
uses: actions/checkout@v4
8874
with:
89-
python-version: 3.x
90-
- name: Download build artifacts
91-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
92-
with:
93-
name: build-artifact
94-
path: dist
95-
- name: Restore build artifact permissions
96-
run: cd dist && setfacl --restore=permissions-backup.acl
97-
continue-on-error: true
98-
- name: Prepare Repository
99-
run: mv dist .repo
75+
ref: ${{ github.event.pull_request.head.ref }}
76+
repository: ${{ github.event.pull_request.head.repo.full_name }}
10077
- name: Install Dependencies
101-
run: cd .repo && yarn install --check-files --frozen-lockfile
78+
run: yarn install --check-files --frozen-lockfile
10279
- name: Create python artifact
103-
run: cd .repo && npx projen package:python
80+
run: npx projen compile && npx projen package:python
10481
package-dotnet:
10582
needs: build
10683
runs-on: ubuntu-latest
10784
permissions: {}
10885
steps:
86+
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
87+
with:
88+
dotnet-version: 9.0.x
10989
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
11090
with:
11191
node-version: 18.x
112-
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
92+
- name: Checkout
93+
uses: actions/checkout@v4
11394
with:
114-
dotnet-version: 3.x
115-
- name: Download build artifacts
116-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
117-
with:
118-
name: build-artifact
119-
path: dist
120-
- name: Restore build artifact permissions
121-
run: cd dist && setfacl --restore=permissions-backup.acl
122-
continue-on-error: true
123-
- name: Prepare Repository
124-
run: mv dist .repo
95+
ref: ${{ github.event.pull_request.head.ref }}
96+
repository: ${{ github.event.pull_request.head.repo.full_name }}
12597
- name: Install Dependencies
126-
run: cd .repo && yarn install --check-files --frozen-lockfile
98+
run: yarn install --check-files --frozen-lockfile
12799
- name: Create dotnet artifact
128-
run: cd .repo && npx projen package:dotnet
100+
run: npx projen compile && npx projen package:dotnet
101+
129102
package-go:
130103
needs: build
131104
runs-on: ubuntu-latest
132105
permissions: {}
133106
steps:
107+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
108+
with:
109+
go-version: ^1.16.0
134110
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
135111
with:
136112
node-version: 18.x
137-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
113+
- name: Checkout
114+
uses: actions/checkout@v4
138115
with:
139-
go-version: ^1.16.0
140-
- name: Download build artifacts
141-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
142-
with:
143-
name: build-artifact
144-
path: dist
145-
- name: Restore build artifact permissions
146-
run: cd dist && setfacl --restore=permissions-backup.acl
147-
continue-on-error: true
148-
- name: Prepare Repository
149-
run: mv dist .repo
116+
ref: ${{ github.event.pull_request.head.ref }}
117+
repository: ${{ github.event.pull_request.head.repo.full_name }}
150118
- name: Install Dependencies
151-
run: cd .repo && yarn install --check-files --frozen-lockfile
119+
run: yarn install --check-files --frozen-lockfile
152120
- name: Create go artifact
153-
run: cd .repo && npx projen package:go
121+
run: npx projen compile && npx projen package:go
154122

.github/workflows/release.yml

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ jobs:
3131
run: cd dist && getfacl -R . > permissions-backup.acl
3232
continue-on-error: true
3333
- name: Upload artifact
34-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
34+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
3535
with:
3636
name: build-artifact
3737
path: dist
38+
overwrite: true
3839
release_npm:
3940
name: Publish to npm
4041
needs: release
@@ -47,21 +48,23 @@ jobs:
4748
with:
4849
node-version: 18.x
4950
- name: Download build artifacts
50-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
51+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
5152
with:
5253
name: build-artifact
5354
path: dist
5455
- name: Restore build artifact permissions
5556
run: cd dist && setfacl --restore=permissions-backup.acl
5657
continue-on-error: true
57-
- name: Prepare Repository
58-
run: mv dist .repo
58+
- name: Checkout
59+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
60+
with:
61+
path: .repo
5962
- name: Install Dependencies
6063
run: cd .repo && yarn install --check-files --frozen-lockfile
6164
- name: Create js artifact
62-
run: cd .repo && npx projen package:js
65+
run: cd .repo && npx projen compile && npx projen package:js
6366
- name: Collect js Artifact
64-
run: mv .repo/dist dist
67+
run: mv .repo/dist/js dist/js
6568
- name: Release
6669
env:
6770
NPM_DIST_TAG: latest
@@ -95,21 +98,23 @@ jobs:
9598
with:
9699
node-version: 18.x
97100
- name: Download build artifacts
98-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
101+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
99102
with:
100103
name: build-artifact
101104
path: dist
102105
- name: Restore build artifact permissions
103106
run: cd dist && setfacl --restore=permissions-backup.acl
104107
continue-on-error: true
105-
- name: Prepare Repository
106-
run: mv dist .repo
108+
- name: Checkout
109+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
110+
with:
111+
path: .repo
107112
- name: Install Dependencies
108113
run: cd .repo && yarn install --check-files --frozen-lockfile
109114
- name: Create java artifact
110-
run: cd .repo && npx projen package:java
115+
run: cd .repo && npx projen compile && npx projen package:java
111116
- name: Collect java Artifact
112-
run: mv .repo/dist dist
117+
run: mv .repo/dist/java dist/java
113118
- name: Release
114119
env:
115120
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
@@ -144,21 +149,23 @@ jobs:
144149
with:
145150
python-version: 3.x
146151
- name: Download build artifacts
147-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
152+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
148153
with:
149154
name: build-artifact
150155
path: dist
151156
- name: Restore build artifact permissions
152157
run: cd dist && setfacl --restore=permissions-backup.acl
153158
continue-on-error: true
154-
- name: Prepare Repository
155-
run: mv dist .repo
159+
- name: Checkout
160+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
161+
with:
162+
path: .repo
156163
- name: Install Dependencies
157164
run: cd .repo && yarn install --check-files --frozen-lockfile
158165
- name: Create python artifact
159-
run: cd .repo && npx projen package:python
166+
run: cd .repo && npx projen compile && npx projen package:python
160167
- name: Collect python Artifact
161-
run: mv .repo/dist dist
168+
run: mv .repo/dist/python dist/python
162169
- name: Release
163170
env:
164171
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
@@ -188,23 +195,25 @@ jobs:
188195
node-version: 18.x
189196
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
190197
with:
191-
dotnet-version: 3.x
198+
dotnet-version: 9.0.x
192199
- name: Download build artifacts
193-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
200+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
194201
with:
195202
name: build-artifact
196203
path: dist
197204
- name: Restore build artifact permissions
198205
run: cd dist && setfacl --restore=permissions-backup.acl
199206
continue-on-error: true
200-
- name: Prepare Repository
201-
run: mv dist .repo
207+
- name: Checkout
208+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
209+
with:
210+
path: .repo
202211
- name: Install Dependencies
203212
run: cd .repo && yarn install --check-files --frozen-lockfile
204213
- name: Create dotnet artifact
205-
run: cd .repo && npx projen package:dotnet
214+
run: cd .repo && npx projen compile && npx projen package:dotnet
206215
- name: Collect dotnet Artifact
207-
run: mv .repo/dist dist
216+
run: mv .repo/dist/dotnet dist/dotnet
208217
- name: Extract Version
209218
id: extract-version
210219
run: echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
@@ -249,21 +258,23 @@ jobs:
249258
with:
250259
go-version: ^1.16.0
251260
- name: Download build artifacts
252-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
261+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
253262
with:
254263
name: build-artifact
255264
path: dist
256265
- name: Restore build artifact permissions
257266
run: cd dist && setfacl --restore=permissions-backup.acl
258267
continue-on-error: true
259-
- name: Prepare Repository
260-
run: mv dist .repo
268+
- name: Checkout
269+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
270+
with:
271+
path: .repo
261272
- name: Install Dependencies
262273
run: cd .repo && yarn install --check-files --frozen-lockfile
263274
- name: Create go artifact
264-
run: cd .repo && npx projen package:go
275+
run: cd .repo && npx projen compile && npx projen package:go
265276
- name: Collect go Artifact
266-
run: mv .repo/dist dist
277+
run: mv .repo/dist/go dist/go
267278
- name: Release
268279
env:
269280
GITHUB_TOKEN: ${{ secrets.GO_GITHUB_TOKEN }}
@@ -293,17 +304,13 @@ jobs:
293304
with:
294305
node-version: 18.x
295306
- name: Download build artifacts
296-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
307+
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
297308
with:
298309
name: build-artifact
299310
path: dist
300311
- name: Restore build artifact permissions
301312
run: cd dist && setfacl --restore=permissions-backup.acl
302313
continue-on-error: true
303-
- name: Prepare Repository
304-
run: mv dist .repo
305-
- name: Collect GitHub Metadata
306-
run: mv .repo/dist dist
307314
- name: Release
308315
env:
309316
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/upgrade-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> "${GITHUB_OUTPUT}"
3434
- name: Upload patch
3535
if: steps.create_patch.outputs.patch_created
36-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
36+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
3737
with:
3838
name: .repo.patch
3939
path: .repo.patch

.mergify.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)