Skip to content

Commit a93fa72

Browse files
committed
Merge branch 'main' into keys_dir
2 parents 6a28950 + 4bdf347 commit a93fa72

File tree

250 files changed

+21739
-10125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+21739
-10125
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @element-hq/mas-maintainers

.github/actions/build-frontend/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ runs:
1010
using: composite
1111
steps:
1212
- name: Install Node
13-
uses: actions/setup-node@v4.2.0
13+
uses: actions/setup-node@v6.0.0
1414
with:
15-
node-version: "22"
15+
node-version: "24"
1616

1717
- name: Install dependencies
1818
run: npm ci

.github/actions/build-policies/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ runs:
1212
- name: Install Open Policy Agent
1313
uses: open-policy-agent/[email protected]
1414
with:
15-
version: 1.1.0
15+
# Keep in sync with the Dockerfile and policies/Makefile
16+
version: 1.8.0
1617

1718
- name: Build the policies
1819
run: make

.github/workflows/build.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
chmod -R u=rwX,go=rX assets-dist/
8585
8686
- name: Upload assets
87-
uses: actions/upload-artifact@v4.6.2
87+
uses: actions/upload-artifact@v5.0.0
8888
with:
8989
name: assets
9090
path: assets-dist
@@ -143,7 +143,7 @@ jobs:
143143
-p mas-cli
144144
145145
- name: Upload binary artifact
146-
uses: actions/upload-artifact@v4.6.2
146+
uses: actions/upload-artifact@v5.0.0
147147
with:
148148
name: binary-${{ matrix.target }}
149149
path: target/${{ matrix.target }}/release/mas-cli
@@ -162,19 +162,19 @@ jobs:
162162

163163
steps:
164164
- name: Download assets
165-
uses: actions/download-artifact@v5
165+
uses: actions/download-artifact@v6
166166
with:
167167
name: assets
168168
path: assets-dist
169169

170170
- name: Download binary x86_64
171-
uses: actions/download-artifact@v5
171+
uses: actions/download-artifact@v6
172172
with:
173173
name: binary-x86_64-unknown-linux-gnu
174174
path: binary-x86_64
175175

176176
- name: Download binary aarch64
177-
uses: actions/download-artifact@v5
177+
uses: actions/download-artifact@v6
178178
with:
179179
name: binary-aarch64-unknown-linux-gnu
180180
path: binary-aarch64
@@ -192,13 +192,13 @@ jobs:
192192
done
193193
194194
- name: Upload aarch64 archive
195-
uses: actions/upload-artifact@v4.6.2
195+
uses: actions/upload-artifact@v5.0.0
196196
with:
197197
name: mas-cli-aarch64-linux
198198
path: mas-cli-aarch64-linux.tar.gz
199199

200200
- name: Upload x86_64 archive
201-
uses: actions/upload-artifact@v4.6.2
201+
uses: actions/upload-artifact@v5.0.0
202202
with:
203203
name: mas-cli-x86_64-linux
204204
path: mas-cli-x86_64-linux.tar.gz
@@ -226,7 +226,7 @@ jobs:
226226
steps:
227227
- name: Docker meta
228228
id: meta
229-
uses: docker/metadata-action@v5.8.0
229+
uses: docker/metadata-action@v5.9.0
230230
with:
231231
images: "${{ env.IMAGE }}"
232232
bake-target: docker-metadata-action
@@ -242,7 +242,7 @@ jobs:
242242
243243
- name: Docker meta (debug variant)
244244
id: meta-debug
245-
uses: docker/metadata-action@v5.8.0
245+
uses: docker/metadata-action@v5.9.0
246246
with:
247247
images: "${{ env.IMAGE }}"
248248
bake-target: docker-metadata-action-debug
@@ -258,7 +258,7 @@ jobs:
258258
type=sha
259259
260260
- name: Setup Cosign
261-
uses: sigstore/cosign-installer@v3.9.2
261+
uses: sigstore/cosign-installer@v4.0.0
262262

263263
- name: Set up Docker Buildx
264264
uses: docker/[email protected]
@@ -268,7 +268,7 @@ jobs:
268268
mirrors = ["mirror.gcr.io"]
269269
270270
- name: Login to GitHub Container Registry
271-
uses: docker/login-action@v3.5.0
271+
uses: docker/login-action@v3.6.0
272272
with:
273273
registry: ghcr.io
274274
username: ${{ github.repository_owner }}
@@ -320,14 +320,14 @@ jobs:
320320
- build-image
321321
steps:
322322
- name: Download the artifacts from the previous job
323-
uses: actions/download-artifact@v5
323+
uses: actions/download-artifact@v6
324324
with:
325325
pattern: mas-cli-*
326326
path: artifacts
327327
merge-multiple: true
328328

329329
- name: Prepare a release
330-
uses: softprops/action-gh-release@v2.3.2
330+
uses: softprops/action-gh-release@v2.4.2
331331
with:
332332
generate_release_notes: true
333333
body: |
@@ -382,21 +382,21 @@ jobs:
382382
.github/scripts
383383
384384
- name: Download the artifacts from the previous job
385-
uses: actions/download-artifact@v5
385+
uses: actions/download-artifact@v6
386386
with:
387387
pattern: mas-cli-*
388388
path: artifacts
389389
merge-multiple: true
390390

391391
- name: Update unstable git tag
392-
uses: actions/github-script@v7.0.1
392+
uses: actions/github-script@v8.0.0
393393
with:
394394
script: |
395395
const script = require('./.github/scripts/update-unstable-tag.cjs');
396396
await script({ core, github, context });
397397
398398
- name: Update unstable release
399-
uses: softprops/action-gh-release@v2.3.2
399+
uses: softprops/action-gh-release@v2.4.2
400400
with:
401401
name: "Unstable build"
402402
tag_name: unstable
@@ -460,7 +460,7 @@ jobs:
460460
.github/scripts
461461
462462
- name: Remove label and comment
463-
uses: actions/github-script@v7.0.1
463+
uses: actions/github-script@v8.0.0
464464
env:
465465
BUILD_IMAGE_MANIFEST: ${{ needs.build-image.outputs.metadata }}
466466
with:

.github/workflows/ci.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: Setup Regal
4242
uses: StyraInc/setup-regal@v1
4343
with:
44-
version: 0.29.2
44+
# Keep in sync with policies/Makefile
45+
version: 0.36.1
4546

4647
- name: Lint policies
4748
working-directory: ./policies
@@ -63,9 +64,9 @@ jobs:
6364
uses: actions/checkout@v5
6465

6566
- name: Install Node
66-
uses: actions/setup-node@v4.4.0
67+
uses: actions/setup-node@v6.0.0
6768
with:
68-
node-version: 22
69+
node-version: 24
6970

7071
- name: Install Node dependencies
7172
working-directory: ./frontend
@@ -87,9 +88,9 @@ jobs:
8788
uses: actions/checkout@v5
8889

8990
- name: Install Node
90-
uses: actions/setup-node@v4.4.0
91+
uses: actions/setup-node@v6.0.0
9192
with:
92-
node-version: 22
93+
node-version: 24
9394

9495
- name: Install Node dependencies
9596
working-directory: ./frontend
@@ -111,9 +112,9 @@ jobs:
111112
uses: actions/checkout@v5
112113

113114
- name: Install Node
114-
uses: actions/setup-node@v4.4.0
115+
uses: actions/setup-node@v6.0.0
115116
with:
116-
node-version: 20
117+
node-version: 24
117118

118119
- name: Install Node dependencies
119120
working-directory: ./frontend
@@ -256,7 +257,7 @@ jobs:
256257
SQLX_OFFLINE: "1"
257258

258259
- name: Upload archive to workflow
259-
uses: actions/upload-artifact@v4.6.2
260+
uses: actions/upload-artifact@v5.0.0
260261
with:
261262
name: nextest-archive
262263
path: nextest-archive.tar.zst
@@ -304,7 +305,7 @@ jobs:
304305
- uses: ./.github/actions/build-policies
305306

306307
- name: Download archive
307-
uses: actions/download-artifact@v5
308+
uses: actions/download-artifact@v6
308309
with:
309310
name: nextest-archive
310311

.github/workflows/coverage.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: make coverage
3939

4040
- name: Upload to codecov.io
41-
uses: codecov/[email protected].0
41+
uses: codecov/[email protected].1
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}
4444
files: policies/coverage.json
@@ -65,7 +65,7 @@ jobs:
6565
run: npm run coverage
6666

6767
- name: Upload to codecov.io
68-
uses: codecov/[email protected].0
68+
uses: codecov/[email protected].1
6969
with:
7070
token: ${{ secrets.CODECOV_TOKEN }}
7171
directory: frontend/coverage/
@@ -132,7 +132,7 @@ jobs:
132132
grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/tests.lcov
133133
134134
- name: Upload to codecov.io
135-
uses: codecov/[email protected].0
135+
uses: codecov/[email protected].1
136136
with:
137137
token: ${{ secrets.CODECOV_TOKEN }}
138138
files: target/coverage/*.lcov

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
tool: mdbook
4040

4141
- name: Install Node
42-
uses: actions/setup-node@v4.4.0
42+
uses: actions/setup-node@v6.0.0
4343
with:
44-
node-version: 22
44+
node-version: 24
4545

4646
- name: Build the documentation
4747
run: sh misc/build-docs.sh

.github/workflows/merge-back.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
.github/scripts
3131
3232
- name: Push branch and open a PR
33-
uses: actions/github-script@v7.0.1
33+
uses: actions/github-script@v8.0.0
3434
env:
3535
SHA: ${{ inputs.sha }}
3636
with:

.github/workflows/release-branch.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
uses: actions/checkout@v5
6565

6666
- name: Install Node
67-
uses: actions/setup-node@v4.4.0
67+
uses: actions/setup-node@v6.0.0
6868
with:
69-
node-version: 22
69+
node-version: 24
7070

7171
- name: Install Localazy CLI
7272
run: npm install -g @localazy/cli
@@ -112,7 +112,7 @@ jobs:
112112
.github/scripts
113113
114114
- name: Create a new release branch
115-
uses: actions/github-script@v7.0.1
115+
uses: actions/github-script@v8.0.0
116116
env:
117117
BRANCH: release/v${{ needs.compute-version.outputs.short }}
118118
SHA: ${{ needs.tag.outputs.sha }}

.github/workflows/release-bump.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
.github/scripts
8383
8484
- name: Update the release branch
85-
uses: actions/github-script@v7.0.1
85+
uses: actions/github-script@v8.0.0
8686
env:
8787
BRANCH: "${{ github.ref_name }}"
8888
SHA: ${{ needs.tag.outputs.sha }}

0 commit comments

Comments
 (0)