Skip to content

Commit c5bafdc

Browse files
authored
Merge branch 'main' into add-gleam-compiler
2 parents 0152025 + 03b45e5 commit c5bafdc

178 files changed

Lines changed: 6992 additions & 4553 deletions

File tree

Some content is hidden

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

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ updates:
77
directory: "/"
88
schedule:
99
interval: "weekly"
10+
cooldown:
11+
default-days: 7

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,27 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
include:
29+
- otp_version: "29.0-rc1"
2930
- otp_version: "28.1"
3031
deterministic: true
3132
- otp_version: "28.1"
32-
erlc_opts: "warnings_as_errors"
3333
docs: true
3434
coverage: true
3535
- otp_version: "27.3"
36-
erlc_opts: "warnings_as_errors"
3736
- otp_version: "27.0"
38-
erlc_opts: "warnings_as_errors"
39-
- otp_version: "26.0"
4037
- otp_version: master
4138
development: true
4239
- otp_version: maint
4340
development: true
4441

45-
# Earlier Erlang/OTP versions ignored compiler directives
46-
# when using warnings_as_errors. So we only set ERLC_OPTS
47-
# from Erlang/OTP 27+.
4842
env:
49-
ERLC_OPTS: ${{ matrix.erlc_opts || '' }}
43+
ERLC_OPTS: "warnings_as_errors"
5044
steps:
5145
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
with:
47+
persist-credentials: false
5248

53-
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
49+
- uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0
5450
with:
5551
otp-version: ${{ matrix.otp_version }}
5652
gleam-version: "1.11.1"
@@ -96,7 +92,7 @@ jobs:
9692

9793
- name: "Upload Coverage Artifact"
9894
if: ${{ matrix.coverage }}
99-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
95+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
10096
with:
10197
name: TestCoverage
10298
path: cover/*
@@ -119,17 +115,19 @@ jobs:
119115
strategy:
120116
matrix:
121117
otp_version:
118+
- "29.0-rc1"
122119
- "28.1"
123120
- "27.3"
124-
- "26.2"
125121

126122
steps:
127123
- name: Configure Git
128124
run: git config --global core.autocrlf input
129125

130126
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
127+
with:
128+
persist-credentials: false
131129

132-
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
130+
- uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0
133131
with:
134132
otp-version: ${{ matrix.otp_version }}
135133

.github/workflows/codeql.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2026 The Elixir Team
3+
4+
name: "CodeQL Advanced"
5+
6+
on:
7+
push:
8+
branches: ["main"]
9+
pull_request:
10+
branches: ["main"]
11+
schedule:
12+
- cron: "29 8 * * 1"
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
analyze:
19+
name: Analyze (${{ matrix.language }})
20+
runs-on: "ubuntu-latest"
21+
permissions:
22+
security-events: write
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
include:
27+
- language: actions
28+
build-mode: none
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+
with:
33+
persist-credentials: false
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
36+
with:
37+
languages: ${{ matrix.language }}
38+
build-mode: ${{ matrix.build-mode }}
39+
- name: Perform CodeQL Analysis
40+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
41+
with:
42+
category: "/language:${{matrix.language}}"
43+
44+
zizmor:
45+
name: Zizmor
46+
runs-on: ubuntu-latest
47+
permissions:
48+
security-events: write
49+
steps:
50+
- name: Checkout repository
51+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
with:
53+
persist-credentials: false
54+
- name: Run zizmor
55+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2

.github/workflows/license_compliance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
- name: Checkout project
2929
id: checkout
3030
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
with:
32+
persist-credentials: false
3133

3234
- name: Run OSS Review Toolkit
3335
id: ort

.github/workflows/markdown.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434

3535
steps:
3636
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+
with:
38+
persist-credentials: false
3739

3840
- name: Run markdownlint-cli2
39-
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0
41+
uses: DavidAnson/markdownlint-cli2-action@ce4853d43830c74c1753b39f3cf40f71c2031eb9 # v23.0.0

.github/workflows/ort/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ runs:
4646
repository: oss-review-toolkit/ort-config
4747
ref: "main"
4848
path: ".ort-config"
49+
persist-credentials: false
4950

5051
- name: Setup ORT Config
5152
id: setup-ort-config

.github/workflows/posix_compliance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
steps:
3535
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
with:
37+
persist-credentials: false
3638

3739
- name: Install ShellCheck
3840
run: |

0 commit comments

Comments
 (0)