aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-08-03 10:33:35 +0300
committerLouis Pilfold <louis@lpil.uk>2024-08-13 19:50:46 +0200
commit894bc951a0681bb80063e8c7c98c4c7f6ef5097e (patch)
tree54d3de3406d76c4ea7cc1debe8ba98c7f7005433 /.github
parente174d4eea80dcf28f72c30d78cc17493998687aa (diff)
downloadgleam_stdlib-894bc951a0681bb80063e8c7c98c4c7f6ef5097e.tar.gz
gleam_stdlib-894bc951a0681bb80063e8c7c98c4c7f6ef5097e.zip
Update GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml6
-rw-r--r--.github/workflows/ci.yml40
2 files changed, 34 insertions, 12 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..6f74934
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+- package-ecosystem: github-actions
+ directory: "/"
+ schedule:
+ interval: monthly
+ open-pull-requests-limit: 10
+ labels: []
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 048ff88..679e4e7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,65 +6,81 @@ on:
- "main"
- "v*.*.*"
pull_request:
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
test_erlang:
runs-on: ubuntu-24.04
+ timeout-minutes: 15
strategy:
+ fail-fast: false
matrix:
erlang_version: ["26.2", "27.0"]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang_version }}
- gleam-version: "1.2.1"
+ gleam-version: "1.4.0"
- run: gleam test --target erlang
- run: gleam format --check src test
test_javascript_node:
runs-on: ubuntu-24.04
+ timeout-minutes: 15
strategy:
+ fail-fast: false
matrix:
- node_version: ["18.20", "20.15", "22.3"]
+ node_version: ["18.20", "20.16", "22.5"]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "27.0"
- gleam-version: "1.2.1"
- - uses: actions/setup-node@v3
+ gleam-version: "1.4.0"
+ - uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- run: gleam test --target javascript --runtime node
test_javascript_bun:
runs-on: ubuntu-24.04
+ timeout-minutes: 15
strategy:
+ fail-fast: false
matrix:
bun_version: ["1.1"]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "27.0"
- gleam-version: "1.2.1"
- - uses: oven-sh/setup-bun@v1
+ gleam-version: "1.4.0"
+ - uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun_version }}
- run: gleam test --target javascript --runtime bun
test_javascript_deno:
runs-on: ubuntu-24.04
+ timeout-minutes: 15
strategy:
+ fail-fast: false
matrix:
- deno_version: ["1.44"]
+ deno_version: ["1.45"]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "27.0"
- gleam-version: "1.2.1"
+ gleam-version: "1.4.0"
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno_version }}