mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
Compare commits
37 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54075bcc5e | |||
| ea45c8043f | |||
| b4b8d851b6 | |||
| 20df794ab3 | |||
| 9d5c5ca125 | |||
| ad4294342c | |||
| 135c095dff | |||
| a04cfbb50e | |||
| cd1472f941 | |||
| c80fdc938c | |||
| aecd7abd75 | |||
| 6e9312bce0 | |||
| 3985c7c047 | |||
| 35f52551d2 | |||
| 0510550330 | |||
| 9eabb2c115 | |||
| e5f1a7b722 | |||
| 7a27046239 | |||
| fc68ffb904 | |||
| 190c3a5e7b | |||
| 92dab893ed | |||
| 5dfda65506 | |||
| ef385d6edc | |||
| bf3c3af135 | |||
| e7645e4102 | |||
| a36098e741 | |||
| 87781dc68a | |||
| d5f3979a5f | |||
| 930b3281ba | |||
| 30056ca086 | |||
| 1f3f354e6a | |||
| 3e49772722 | |||
| 2ac22cd739 | |||
| c4782c7b58 | |||
| 0afadf6bdd | |||
| e539b1ee26 | |||
| c5f0656346 |
@@ -24,7 +24,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Version it!
|
- name: Version it!
|
||||||
run: |
|
run: |
|
||||||
# We expect a string such as const setupBeamVersion = 'undefined' in the code
|
# We expect a string such as const setupBeamVersion = 'undefined' in the code
|
||||||
@@ -45,10 +45,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref != 'refs/heads/main'
|
if: github.ref != 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- uses: actions/setup-node@v6.3.0
|
- uses: actions/setup-node@v6.3.0
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '24'
|
||||||
- run: npm run build-dist
|
- run: npm run build-dist
|
||||||
- name: Check if build left artifacts
|
- name: Check if build left artifacts
|
||||||
run: git diff --exit-code --ignore-space-at-eol
|
run: git diff --exit-code --ignore-space-at-eol
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref != 'refs/heads/main'
|
if: github.ref != 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- uses: raven-actions/actionlint@v2.1.2
|
- uses: raven-actions/actionlint@v2.1.2
|
||||||
|
|
||||||
unit_tests_ubuntu:
|
unit_tests_ubuntu:
|
||||||
@@ -70,10 +70,10 @@ jobs:
|
|||||||
- ubuntu-latest # x86_64
|
- ubuntu-latest # x86_64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- uses: actions/setup-node@v6.3.0
|
- uses: actions/setup-node@v6.3.0
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '24'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
||||||
env:
|
env:
|
||||||
@@ -92,14 +92,13 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-11-arm # ARM64
|
|
||||||
- windows-latest # x86_64
|
- windows-latest # x86_64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- uses: actions/setup-node@v6.3.0
|
- uses: actions/setup-node@v6.3.0
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '24'
|
||||||
- run: npm install --production
|
- run: npm install --production
|
||||||
- run: npm test
|
- run: npm test
|
||||||
env:
|
env:
|
||||||
@@ -122,10 +121,10 @@ jobs:
|
|||||||
- macos-15-intel # x86_64
|
- macos-15-intel # x86_64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- uses: actions/setup-node@v6.3.0
|
- uses: actions/setup-node@v6.3.0
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '24'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
install-rebar: [true, false]
|
install-rebar: [true, false]
|
||||||
install-hex: [true, false]
|
install-hex: [true, false]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
+21
-13
@@ -16,6 +16,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
integration_test:
|
integration_test:
|
||||||
name: >
|
name: >
|
||||||
|
OS ${{matrix.combo.os}},
|
||||||
OTP ${{matrix.combo.otp-version}},
|
OTP ${{matrix.combo.otp-version}},
|
||||||
Elixir ${{matrix.combo.elixir-version}},
|
Elixir ${{matrix.combo.elixir-version}},
|
||||||
rebar3 ${{matrix.combo.rebar3-version}}
|
rebar3 ${{matrix.combo.rebar3-version}}
|
||||||
@@ -24,6 +25,22 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
combo:
|
combo:
|
||||||
|
# macOS 14 - per README
|
||||||
|
- otp-version: '25'
|
||||||
|
os: 'macos-14'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'macos-14'
|
||||||
|
# macOS 15 - per README
|
||||||
|
- otp-version: '25'
|
||||||
|
os: 'macos-15'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'macos-15'
|
||||||
|
# macOS 26 - per README
|
||||||
|
- otp-version: '25'
|
||||||
|
os: 'macos-26'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'macos-26'
|
||||||
|
# macOS latest
|
||||||
- otp-version: '27'
|
- otp-version: '27'
|
||||||
elixir-version: 'v1.17.0'
|
elixir-version: 'v1.17.0'
|
||||||
rebar3-version: '3.23'
|
rebar3-version: '3.23'
|
||||||
@@ -43,22 +60,13 @@ jobs:
|
|||||||
elixir-version: '1.14.3'
|
elixir-version: '1.14.3'
|
||||||
os: 'macos-latest'
|
os: 'macos-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
- otp-version: '25'
|
|
||||||
os: 'macos-15'
|
|
||||||
- otp-version: '27'
|
|
||||||
elixir-version: '1.18'
|
|
||||||
os: 'macos-26'
|
|
||||||
- otp-version: '26'
|
|
||||||
elixir-version: '1.16'
|
|
||||||
rebar3-version: '3.25'
|
|
||||||
os: 'macos-14'
|
|
||||||
- otp-version: '25.0'
|
- otp-version: '25.0'
|
||||||
elixir-version: 'v1.13.4-otp-25'
|
elixir-version: 'v1.16.3-otp-25'
|
||||||
rebar3-version: '3.18.0'
|
rebar3-version: '3.18.0'
|
||||||
os: 'macos-latest'
|
os: 'macos-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
- otp-version: '25.0'
|
- otp-version: '25.0'
|
||||||
elixir-version: 'v1.13.4'
|
elixir-version: 'v1.16.3'
|
||||||
rebar3-version: '3.18.0'
|
rebar3-version: '3.18.0'
|
||||||
os: 'macos-latest'
|
os: 'macos-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
@@ -68,7 +76,7 @@ jobs:
|
|||||||
rebar3-version: 'latest'
|
rebar3-version: 'latest'
|
||||||
os: 'macos-latest'
|
os: 'macos-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
@@ -121,7 +129,7 @@ jobs:
|
|||||||
rebar3-version: 3.24
|
rebar3-version: 3.24
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
integration_test:
|
integration_test:
|
||||||
name: >
|
name: >
|
||||||
|
OS ${{matrix.combo.os}},
|
||||||
OTP ${{matrix.combo.otp-version}},
|
OTP ${{matrix.combo.otp-version}},
|
||||||
Elixir ${{matrix.combo.elixir-version}},
|
Elixir ${{matrix.combo.elixir-version}},
|
||||||
Gleam ${{matrix.combo.gleam-version}},
|
Gleam ${{matrix.combo.gleam-version}},
|
||||||
@@ -25,15 +26,22 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
combo:
|
combo:
|
||||||
- otp-version: '<26'
|
# Ubuntu 22.04 - per README
|
||||||
elixir-version: '<1.17'
|
- otp-version: '24.2'
|
||||||
os: 'ubuntu-22.04'
|
os: 'ubuntu-22.04'
|
||||||
- otp-version: 'master'
|
- otp-version: '29'
|
||||||
elixir-version: '> 0'
|
os: 'ubuntu-22.04'
|
||||||
|
# Ubuntu 24.04 - per README
|
||||||
|
- otp-version: '24.3'
|
||||||
os: 'ubuntu-24.04'
|
os: 'ubuntu-24.04'
|
||||||
- otp-version: 'master'
|
- otp-version: '29'
|
||||||
elixir-version: 'main'
|
|
||||||
os: 'ubuntu-24.04'
|
os: 'ubuntu-24.04'
|
||||||
|
# Ubuntu 26.04 - per README
|
||||||
|
- otp-version: '26'
|
||||||
|
os: 'ubuntu-26.04'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'ubuntu-26.04'
|
||||||
|
# Ubuntu latest
|
||||||
- otp-version: '27'
|
- otp-version: '27'
|
||||||
elixir-version: 'v1.17.0'
|
elixir-version: 'v1.17.0'
|
||||||
rebar3-version: '3.23'
|
rebar3-version: '3.23'
|
||||||
@@ -53,19 +61,13 @@ jobs:
|
|||||||
elixir-version: '1.14.3'
|
elixir-version: '1.14.3'
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
- otp-version: '25'
|
|
||||||
os: 'ubuntu-24.04'
|
|
||||||
- otp-version: '26'
|
|
||||||
elixir-version: '1.16'
|
|
||||||
rebar3-version: '3.25'
|
|
||||||
os: 'ubuntu-22.04'
|
|
||||||
- otp-version: '25.0'
|
- otp-version: '25.0'
|
||||||
elixir-version: 'v1.13.4-otp-25'
|
elixir-version: 'v1.16.2-otp-25'
|
||||||
rebar3-version: '3.18.0'
|
rebar3-version: '3.18.0'
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
- otp-version: '25.0'
|
- otp-version: '25.0'
|
||||||
elixir-version: 'v1.13.4'
|
elixir-version: 'v1.16.3'
|
||||||
rebar3-version: '3.18.0'
|
rebar3-version: '3.18.0'
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
@@ -80,13 +82,13 @@ jobs:
|
|||||||
otp-version: false
|
otp-version: false
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
disable_problem_matchers: true
|
disable_problem_matchers: true
|
||||||
- elixir-version: 'v1.13'
|
- elixir-version: 'v1.16'
|
||||||
otp-version: '24'
|
otp-version: '24'
|
||||||
escript_packages: 'hex protobuf'
|
escript_packages: 'hex protobuf'
|
||||||
escript_script: 'protoc-gen-elixir --version'
|
escript_script: 'protoc-gen-elixir --version'
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
@@ -154,7 +156,7 @@ jobs:
|
|||||||
rebar3-version: 3.24
|
rebar3-version: 3.24
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
name: Update 3rd party licenses
|
name: Update 3rd party licenses
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- run:
|
- run:
|
||||||
./.github/workflows/update_3rd_party_licenses.sh
|
./.github/workflows/update_3rd_party_licenses.sh
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
integration_test:
|
integration_test:
|
||||||
name: >
|
name: >
|
||||||
|
OS ${{matrix.combo.os}},
|
||||||
OTP ${{matrix.combo.otp-version}},
|
OTP ${{matrix.combo.otp-version}},
|
||||||
Elixir ${{matrix.combo.elixir-version}},
|
Elixir ${{matrix.combo.elixir-version}},
|
||||||
Gleam ${{matrix.combo.gleam-version}},
|
Gleam ${{matrix.combo.gleam-version}},
|
||||||
@@ -25,12 +26,20 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
combo:
|
combo:
|
||||||
|
# Windows 2022 - per README
|
||||||
|
- otp-version: '26' # 21 is "so old", at this moment, we can't find it in latest 100
|
||||||
|
os: 'windows-2022'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'windows-2022'
|
||||||
|
# Windows 2025 - per README
|
||||||
|
- otp-version: '26' # 21 is "so old", at this moment, we can't find it in latest 100
|
||||||
|
os: 'windows-2025'
|
||||||
|
- otp-version: '29'
|
||||||
|
os: 'windows-2025'
|
||||||
|
# Windows latest
|
||||||
- otp-version: '<26'
|
- otp-version: '<26'
|
||||||
elixir-version: '<1.17'
|
elixir-version: '<1.17'
|
||||||
os: 'ubuntu-22.04'
|
os: 'windows-latest'
|
||||||
- otp-version: 'master'
|
|
||||||
elixir-version: '> 0'
|
|
||||||
os: 'ubuntu-24.04'
|
|
||||||
- otp-version: '27'
|
- otp-version: '27'
|
||||||
elixir-version: 'v1.17.0'
|
elixir-version: 'v1.17.0'
|
||||||
rebar3-version: '3.23'
|
rebar3-version: '3.23'
|
||||||
@@ -47,30 +56,24 @@ jobs:
|
|||||||
elixir-version: '1.14.5'
|
elixir-version: '1.14.5'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
version-type: 'strict'
|
version-type: 'strict'
|
||||||
- otp-version: '24.0.2'
|
|
||||||
rebar3-version: '3.16'
|
|
||||||
os: 'windows-2022'
|
|
||||||
- otp-version: '23.0'
|
|
||||||
rebar3-version: '3.15'
|
|
||||||
os: 'windows-2022'
|
|
||||||
- elixir-version: 'v1.10'
|
- elixir-version: 'v1.10'
|
||||||
otp-version: '23'
|
otp-version: '23'
|
||||||
rebar3-version: '3.14'
|
rebar3-version: '3.14'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
- elixir-version: 'v1.13'
|
- elixir-version: 'v1.16'
|
||||||
otp-version: '24'
|
otp-version: '24'
|
||||||
rebar3-version: '3.15'
|
rebar3-version: '3.15'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
- gleam-version: '1.9.0'
|
- gleam-version: '1.9.0'
|
||||||
otp-version: '27'
|
otp-version: '27'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
- elixir-version: 'v1.13'
|
- elixir-version: 'v1.16'
|
||||||
otp-version: '24'
|
otp-version: '24'
|
||||||
escript_packages: 'hex protobuf'
|
escript_packages: 'hex protobuf'
|
||||||
escript_script: 'protoc-gen-elixir --version'
|
escript_script: 'protoc-gen-elixir --version'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
@@ -137,7 +140,7 @@ jobs:
|
|||||||
rebar3-version: 3.24
|
rebar3-version: 3.24
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v7.0.0
|
||||||
- name: Use erlef/setup-beam
|
- name: Use erlef/setup-beam
|
||||||
id: setup-beam
|
id: setup-beam
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
+3
-30
@@ -2266,7 +2266,7 @@ The following software may be included in this product: fflate. A copy of the so
|
|||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2023 Arjun Barrett
|
Copyright (c) 2026 Arjun Barrett
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -3902,11 +3902,11 @@ IN THE SOFTWARE.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: strtok3. A copy of the source code may be downloaded from https://github.com/Borewit/strtok3.git. This software contains the following license and notice below:
|
The following software may be included in this product: strtok3. A copy of the source code may be downloaded from git+https://github.com/Borewit/strtok3.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright © 2025 Borewit
|
Copyright © 2026 Borewit
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -4020,33 +4020,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: toml. A copy of the source code may be downloaded from git://github.com/BinaryMuse/toml-node.git. This software contains the following license and notice below:
|
|
||||||
|
|
||||||
Copyright (c) 2012 Michelle Tilley
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without
|
|
||||||
restriction, including without limitation the rights to use,
|
|
||||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the
|
|
||||||
Software is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
-----
|
|
||||||
|
|
||||||
The following software may be included in this product: tslib. A copy of the source code may be downloaded from https://github.com/Microsoft/tslib.git. This software contains the following license and notice below:
|
The following software may be included in this product: tslib. A copy of the source code may be downloaded from https://github.com/Microsoft/tslib.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|||||||
@@ -78,17 +78,16 @@ expect to be considered the latest.
|
|||||||
This list presents the known working version combos between the target operating system
|
This list presents the known working version combos between the target operating system
|
||||||
and Erlang/OTP.
|
and Erlang/OTP.
|
||||||
|
|
||||||
| Operating system | Erlang/OTP | OTP Architecture | Status
|
| Operating system | Erlang/OTP | OTP Architecture | Status
|
||||||
|- |- | - |-
|
|- |- | - |-
|
||||||
| `ubuntu-22.04` | 24.2 - 28 | x86_64, arm64 | ✅
|
| `ubuntu-22.04` | 24.2 - 29 | x86_64, arm64 | ✅
|
||||||
| `ubuntu-24.04` | 24.3 - 28 | x86_64, arm64 | ✅
|
| `ubuntu-24.04` | 24.3 - 29 | x86_64, arm64 | ✅
|
||||||
| `windows-2019` | 21\* - 25 | x86_64, x86 | ✅
|
| `ubuntu-26.04` | 26 - 29 | x86_64, arm64 | ✅
|
||||||
| `windows-2022` | 21\* - 28 | x86_64, x86 | ✅
|
| `windows-2022` | 21\* - 29 | x86_64, x86 | ✅
|
||||||
| `windows-2025` | 21\* - 28 | x86_64, x86 | ✅
|
| `windows-2025` | 21\* - 29 | x86_64, x86 | ✅
|
||||||
| `macOS-13` | 25.0 - 28 | x86_64, arm64 | ✅
|
| `macOS-14` | 25 - 29 | x86_64, arm64 | ✅
|
||||||
| `macOS-14` | 25.0 - 28 | x86_64, arm64 | ✅
|
| `macOS-15` | 25 - 29 | x86_64, arm64 | ✅
|
||||||
| `macOS-15` | 25.0 - 28 | x86_64, arm64 | ✅
|
| `macOS-26` | 25 - 29 | x86_64, arm64 | ✅
|
||||||
| `macOS-26` | 25.0 - 28 | x86_64, arm64 | ✅
|
|
||||||
|
|
||||||
**Note** \*: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3,
|
**Note** \*: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3,
|
||||||
22.0, etc.
|
22.0, etc.
|
||||||
@@ -106,11 +105,14 @@ uses that to download assets:
|
|||||||
| ImageOS | Operating system
|
| ImageOS | Operating system
|
||||||
|- |-
|
|- |-
|
||||||
| `ubuntu22` | `ubuntu-22.04`
|
| `ubuntu22` | `ubuntu-22.04`
|
||||||
|
| `ubuntu22-arm64` | `ubuntu-22.04`
|
||||||
| `ubuntu24` | `ubuntu-24.04`
|
| `ubuntu24` | `ubuntu-24.04`
|
||||||
| `win19` | `windows-2019`
|
| `ubuntu24-arm64` | `ubuntu-24.04`
|
||||||
|
| `ubuntu26` | `ubuntu-26.04`
|
||||||
|
| `ubuntu26-arm64` | `ubuntu-26.04`
|
||||||
| `win22` | `windows-2022`
|
| `win22` | `windows-2022`
|
||||||
| `win25` | `windows-2025`
|
| `win25` | `windows-2025`
|
||||||
| `macos13` | `macOS-13`
|
| `win25-vs2026` | `windows-2025`
|
||||||
| `macos14` | `macOS-14`
|
| `macos14` | `macOS-14`
|
||||||
| `macos15` | `macOS-15`
|
| `macos15` | `macOS-15`
|
||||||
| `macos26` | `macOS-26`
|
| `macos26` | `macOS-26`
|
||||||
|
|||||||
+1
-1
@@ -98,5 +98,5 @@ outputs:
|
|||||||
description: The commit unique id of the execution action version
|
description: The commit unique id of the execution action version
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: node20
|
using: node24
|
||||||
main: dist/index.js
|
main: dist/index.js
|
||||||
|
|||||||
Vendored
+1159
-21354
File diff suppressed because it is too large
Load Diff
Generated
+75
-72
@@ -10,24 +10,23 @@
|
|||||||
"@actions/core": "3.0.0",
|
"@actions/core": "3.0.0",
|
||||||
"@actions/exec": "3.0.0",
|
"@actions/exec": "3.0.0",
|
||||||
"@actions/tool-cache": "4.0.0",
|
"@actions/tool-cache": "4.0.0",
|
||||||
"csv-parse": "6.1.0",
|
"csv-parse": "6.2.1",
|
||||||
"lodash": "4.17.23",
|
|
||||||
"semver": "7.7.4",
|
"semver": "7.7.4",
|
||||||
"toml": "3.0.0"
|
"smol-toml": "1.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "10.0.1",
|
"@eslint/js": "10.0.1",
|
||||||
"@vercel/ncc": "0.38.4",
|
"@vercel/ncc": "0.38.4",
|
||||||
"eslint": "10.0.3",
|
"eslint": "10.6.0",
|
||||||
"eslint-plugin-yml": "3.3.1",
|
"eslint-plugin-yml": "3.3.1",
|
||||||
"globals": "17.4.0",
|
"globals": "17.7.0",
|
||||||
"markdownlint-cli": "0.48.0",
|
"markdownlint-cli": "0.48.0",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.9.1",
|
||||||
"shellcheck": "4.1.0",
|
"shellcheck": "4.1.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=24"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/core": {
|
"node_modules/@actions/core": {
|
||||||
@@ -132,13 +131,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/config-array": {
|
"node_modules/@eslint/config-array": {
|
||||||
"version": "0.23.3",
|
"version": "0.23.5",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.3.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz",
|
||||||
"integrity": "sha512-j+eEWmB6YYLwcNOdlwQ6L2OsptI/LO6lNBuLIqe5R7RetD658HLoF+Mn7LzYmAWWNNzdC6cqP+L6r8ujeYXWLw==",
|
"integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/object-schema": "^3.0.3",
|
"@eslint/object-schema": "^3.0.5",
|
||||||
"debug": "^4.3.1",
|
"debug": "^4.3.1",
|
||||||
"minimatch": "^10.2.4"
|
"minimatch": "^10.2.4"
|
||||||
},
|
},
|
||||||
@@ -147,22 +146,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/config-helpers": {
|
"node_modules/@eslint/config-helpers": {
|
||||||
"version": "0.5.2",
|
"version": "0.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz",
|
||||||
"integrity": "sha512-a5MxrdDXEvqnIq+LisyCX6tQMPF/dSJpCfBgBauY+pNZ28yCtSsTvyTYrMhaI+LK26bVyCJfJkT0u8KIj2i1dQ==",
|
"integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/core": "^1.1.0"
|
"@eslint/core": "^1.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.19.0 || ^22.13.0 || >=24"
|
"node": "^20.19.0 || ^22.13.0 || >=24"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/core": {
|
"node_modules/@eslint/core": {
|
||||||
"version": "1.1.1",
|
"version": "1.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz",
|
||||||
"integrity": "sha512-QUPblTtE51/7/Zhfv8BDwO0qkkzQL7P/aWWbqcf4xWLEYn1oKjdO0gglQBB4GAsu7u6wjijbCmzsUTy6mnk6oQ==",
|
"integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -194,9 +193,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/object-schema": {
|
"node_modules/@eslint/object-schema": {
|
||||||
"version": "3.0.3",
|
"version": "3.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz",
|
||||||
"integrity": "sha512-iM869Pugn9Nsxbh/YHRqYiqd23AmIbxJOcpUMOuWCVNdoQJ5ZtwL6h3t0bcZzJUlC3Dq9jCFCESBZnX0GTv7iQ==",
|
"integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -651,9 +650,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "5.0.4",
|
"version": "5.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
|
||||||
"integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
|
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -839,9 +838,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/csv-parse": {
|
"node_modules/csv-parse": {
|
||||||
"version": "6.1.0",
|
"version": "6.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-6.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-6.2.1.tgz",
|
||||||
"integrity": "sha512-CEE+jwpgLn+MmtCpVcPtiCZpVtB6Z2OKPTr34pycYYoL7sxdOkXDdQ4lRiw6ioC0q6BLqhc6cKweCVvral8yhw==",
|
"integrity": "sha512-LRLMV+UCyfMokp8Wb411duBf1gaBKJfOfBWU9eHMJ+b+cJYZsNu3AFmjJf3+yPGd59Exz1TsMjaSFyxnYB9+IQ==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/debug": {
|
"node_modules/debug": {
|
||||||
@@ -1272,18 +1271,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "10.0.3",
|
"version": "10.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.6.0.tgz",
|
||||||
"integrity": "sha512-COV33RzXZkqhG9P2rZCFl9ZmJ7WL+gQSCRzE7RhkbclbQPtLAWReL7ysA0Sh4c8Im2U9ynybdR56PV0XcKvqaQ==",
|
"integrity": "sha512-6lVbcqSodALYo+4ELD0heG6lFiFxnLMuLkiMi2qV8LMp54N8tE8FT1GMH+ev4Ti00nFjNze2+Su6DsV5OQW3Dg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"workspaces": [
|
||||||
|
"packages/*"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.8.0",
|
"@eslint-community/eslint-utils": "^4.8.0",
|
||||||
"@eslint-community/regexpp": "^4.12.2",
|
"@eslint-community/regexpp": "^4.12.2",
|
||||||
"@eslint/config-array": "^0.23.3",
|
"@eslint/config-array": "^0.23.5",
|
||||||
"@eslint/config-helpers": "^0.5.2",
|
"@eslint/config-helpers": "^0.6.0",
|
||||||
"@eslint/core": "^1.1.1",
|
"@eslint/core": "^1.2.1",
|
||||||
"@eslint/plugin-kit": "^0.6.1",
|
"@eslint/plugin-kit": "^0.7.2",
|
||||||
"@humanfs/node": "^0.16.6",
|
"@humanfs/node": "^0.16.6",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@humanwhocodes/retry": "^0.4.2",
|
"@humanwhocodes/retry": "^0.4.2",
|
||||||
@@ -1294,7 +1296,7 @@
|
|||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"eslint-scope": "^9.1.2",
|
"eslint-scope": "^9.1.2",
|
||||||
"eslint-visitor-keys": "^5.0.1",
|
"eslint-visitor-keys": "^5.0.1",
|
||||||
"espree": "^11.1.1",
|
"espree": "^11.2.0",
|
||||||
"esquery": "^1.7.0",
|
"esquery": "^1.7.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
@@ -1398,10 +1400,24 @@
|
|||||||
"url": "https://opencollective.com/eslint"
|
"url": "https://opencollective.com/eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/eslint/node_modules/@eslint/plugin-kit": {
|
||||||
|
"version": "0.7.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz",
|
||||||
|
"integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"dependencies": {
|
||||||
|
"@eslint/core": "^1.2.1",
|
||||||
|
"levn": "^0.4.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || ^22.13.0 || >=24"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/espree": {
|
"node_modules/espree": {
|
||||||
"version": "11.1.1",
|
"version": "11.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-11.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",
|
||||||
"integrity": "sha512-AVHPqQoZYc+RUM4/3Ly5udlZY/U4LS8pIG05jEjWM2lQMU/oaZ7qshzAl2YP1tfNmXfftH3ohurfwNAug+MnsQ==",
|
"integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -1599,9 +1615,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/flatted": {
|
"node_modules/flatted": {
|
||||||
"version": "3.3.4",
|
"version": "3.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
|
||||||
"integrity": "sha512-3+mMldrTAPdta5kjX2G2J7iX4zxtnwpdA8Tr2ZSjkyPSanvbZAcy6flmtnXbEybHrDcU9641lxrMfFuUxVz9vA==",
|
"integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
@@ -1735,9 +1751,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/globals": {
|
"node_modules/globals": {
|
||||||
"version": "17.4.0",
|
"version": "17.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/globals/-/globals-17.7.0.tgz",
|
||||||
"integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
|
"integrity": "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2166,12 +2182,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lodash": {
|
|
||||||
"version": "4.17.23",
|
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
|
|
||||||
"integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/make-dir": {
|
"node_modules/make-dir": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
|
||||||
@@ -3008,9 +3018,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/picomatch": {
|
"node_modules/picomatch": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
||||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -3074,9 +3084,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "3.8.1",
|
"version": "3.9.1",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.1.tgz",
|
||||||
"integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==",
|
"integrity": "sha512-ppiDo2CSwexck1eyZUwJHg/N3nf1+6IRCv7W/VJ5vaLnVCmB7+3CdRfMwoCHBBX6xTrREDTksZ4OZl5SSf4zXA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -3312,10 +3322,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/smol-toml": {
|
"node_modules/smol-toml": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.6.1.tgz",
|
||||||
"integrity": "sha512-4zemZi0HvTnYwLfrpk/CF9LOd9Lt87kAt50GnqhMpyF9U3poDAP2+iukq2bZsO/ufegbYehBkqINbsWxj4l4cw==",
|
"integrity": "sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==",
|
||||||
"dev": true,
|
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
@@ -3531,12 +3540,6 @@
|
|||||||
"url": "https://github.com/sponsors/Borewit"
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/toml": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/tslib": {
|
"node_modules/tslib": {
|
||||||
"version": "2.8.1",
|
"version": "2.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
||||||
@@ -3727,9 +3730,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/yaml": {
|
"node_modules/yaml": {
|
||||||
"version": "2.8.2",
|
"version": "2.8.3",
|
||||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz",
|
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
||||||
"integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
|
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -3775,9 +3778,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/yauzl": {
|
"node_modules/yauzl": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.1.tgz",
|
||||||
"integrity": "sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w==",
|
"integrity": "sha512-k1isifdbpNSFEHFJ1ZY4YDewv0IH9FR61lDetaRMD3j2ae3bIXGV+7c+LHCqtQGofSd8PIyV4X6+dHMAnSr60A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+6
-7
@@ -20,23 +20,22 @@
|
|||||||
"@actions/core": "3.0.0",
|
"@actions/core": "3.0.0",
|
||||||
"@actions/exec": "3.0.0",
|
"@actions/exec": "3.0.0",
|
||||||
"@actions/tool-cache": "4.0.0",
|
"@actions/tool-cache": "4.0.0",
|
||||||
"csv-parse": "6.1.0",
|
"csv-parse": "6.2.1",
|
||||||
"lodash": "4.17.23",
|
|
||||||
"semver": "7.7.4",
|
"semver": "7.7.4",
|
||||||
"toml": "3.0.0"
|
"smol-toml": "1.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "10.0.1",
|
"@eslint/js": "10.0.1",
|
||||||
"@vercel/ncc": "0.38.4",
|
"@vercel/ncc": "0.38.4",
|
||||||
"eslint": "10.0.3",
|
"eslint": "10.6.0",
|
||||||
"eslint-plugin-yml": "3.3.1",
|
"eslint-plugin-yml": "3.3.1",
|
||||||
"globals": "17.4.0",
|
"globals": "17.7.0",
|
||||||
"markdownlint-cli": "0.48.0",
|
"markdownlint-cli": "0.48.0",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.9.1",
|
||||||
"shellcheck": "4.1.0",
|
"shellcheck": "4.1.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=24"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+17
-10
@@ -7,8 +7,7 @@ import { exec } from '@actions/exec'
|
|||||||
import * as tc from '@actions/tool-cache'
|
import * as tc from '@actions/tool-cache'
|
||||||
import * as semver from 'semver'
|
import * as semver from 'semver'
|
||||||
import * as csv from 'csv-parse/sync'
|
import * as csv from 'csv-parse/sync'
|
||||||
import _ from 'lodash'
|
import toml from 'smol-toml'
|
||||||
import toml from 'toml'
|
|
||||||
|
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
@@ -58,7 +57,7 @@ async function main() {
|
|||||||
await maybeInstallRebar3(rebar3Spec)
|
await maybeInstallRebar3(rebar3Spec)
|
||||||
|
|
||||||
// undefined is replaced by a function, post- main branch merge
|
// undefined is replaced by a function, post- main branch merge
|
||||||
const setupBeamVersion = 'f8b54b5'
|
const setupBeamVersion = 'ea45c80'
|
||||||
core.setOutput('setup-beam-version', setupBeamVersion)
|
core.setOutput('setup-beam-version', setupBeamVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -280,7 +279,7 @@ async function getElixirVersion(exSpec0) {
|
|||||||
if (!foundCombo) {
|
if (!foundCombo) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Requested Elixir / Erlang/OTP version (${exSpec0} / tried ${otpVersionsMajor}) not ` +
|
`Requested Elixir / Erlang/OTP version (${exSpec0} / tried ${otpVersionsMajor}) not ` +
|
||||||
'found in version list (did you check Compatibility between Elixir and Erlang/OTP?).' +
|
'found in version list (did you check Compatibility between Elixir and Erlang/OTP?). ' +
|
||||||
'Elixir and Erlang/OTP compatibility can be found at: ' +
|
'Elixir and Erlang/OTP compatibility can be found at: ' +
|
||||||
'https://hexdocs.pm/elixir/compatibility-and-deprecations.html',
|
'https://hexdocs.pm/elixir/compatibility-and-deprecations.html',
|
||||||
)
|
)
|
||||||
@@ -378,9 +377,7 @@ async function getOTPVersions(osVersion) {
|
|||||||
})
|
})
|
||||||
} else if (process.platform === 'win32') {
|
} else if (process.platform === 'win32') {
|
||||||
const otpArch = otpArchitecture()
|
const otpArch = otpArchitecture()
|
||||||
const file_regex = new RegExp(
|
const file_regex = new RegExp(`^otp_win${RegExp.escape(otpArch)}_(.*).exe$`)
|
||||||
`^otp_win${_.escapeRegExp(otpArch)}_(.*).exe$`,
|
|
||||||
)
|
|
||||||
otpVersionsListings.forEach((otpVersionsListing) => {
|
otpVersionsListings.forEach((otpVersionsListing) => {
|
||||||
otpVersionsListing
|
otpVersionsListing
|
||||||
.map((x) => x.assets)
|
.map((x) => x.assets)
|
||||||
@@ -661,13 +658,21 @@ function getRunnerOSArchitecture() {
|
|||||||
|
|
||||||
function getRunnerOSVersion() {
|
function getRunnerOSVersion() {
|
||||||
// List from https://github.com/actions/runner-images?tab=readme-ov-file#available-images
|
// List from https://github.com/actions/runner-images?tab=readme-ov-file#available-images
|
||||||
|
// at e065a395d52f491c58eb8fba8ab1dde2c7cfada1
|
||||||
|
// Not considered, at the moment (though it might be easy to adapt to...):
|
||||||
|
// - ubuntu-slim
|
||||||
|
// - all macOS intel, large, and xlarge variants
|
||||||
|
// - all win arm variants
|
||||||
const ImageOSToContainer = {
|
const ImageOSToContainer = {
|
||||||
ubuntu22: 'ubuntu-22.04',
|
ubuntu22: 'ubuntu-22.04',
|
||||||
|
'ubuntu22-arm64': 'ubuntu-22.04',
|
||||||
ubuntu24: 'ubuntu-24.04',
|
ubuntu24: 'ubuntu-24.04',
|
||||||
win19: 'windows-2019',
|
'ubuntu24-arm64': 'ubuntu-24.04',
|
||||||
|
ubuntu26: 'ubuntu-26.04',
|
||||||
|
'ubuntu26-arm64': 'ubuntu-26.04',
|
||||||
win22: 'windows-2022',
|
win22: 'windows-2022',
|
||||||
win25: 'windows-2025',
|
win25: 'windows-2025',
|
||||||
macos13: 'macOS-13',
|
'win25-vs2026': 'windows-2025',
|
||||||
macos14: 'macOS-14',
|
macos14: 'macOS-14',
|
||||||
macos15: 'macOS-15',
|
macos15: 'macOS-15',
|
||||||
macos26: 'macOS-26',
|
macos26: 'macOS-26',
|
||||||
@@ -675,6 +680,8 @@ function getRunnerOSVersion() {
|
|||||||
const deprecatedImageOSToContainer = {
|
const deprecatedImageOSToContainer = {
|
||||||
ubuntu18: 'ubuntu-18.04',
|
ubuntu18: 'ubuntu-18.04',
|
||||||
ubuntu20: 'ubuntu-20.04',
|
ubuntu20: 'ubuntu-20.04',
|
||||||
|
win19: 'windows-2019',
|
||||||
|
macos13: 'macOS-13',
|
||||||
}
|
}
|
||||||
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
||||||
if (!containerFromEnvImageOS) {
|
if (!containerFromEnvImageOS) {
|
||||||
@@ -972,7 +979,7 @@ async function install(toolName, opts) {
|
|||||||
const otpArch = otpArchitecture()
|
const otpArch = otpArchitecture()
|
||||||
return (
|
return (
|
||||||
'https://github.com/erlang/otp/releases/download/' +
|
'https://github.com/erlang/otp/releases/download/' +
|
||||||
`OTP-${toolVersion}/otp_win${_.escapeRegExp(otpArch)}_${toolVersion}.exe`
|
`OTP-${toolVersion}/otp_win${otpArch}_${toolVersion}.exe`
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
extract: async () => ['file', 'otp.exe'],
|
extract: async () => ['file', 'otp.exe'],
|
||||||
|
|||||||
+869
-72
File diff suppressed because it is too large
Load Diff
+14
-12
@@ -273,7 +273,7 @@ describe('.getOTPVersion(_) - Erlang', () => {
|
|||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
spec = '23.0'
|
spec = '23.0'
|
||||||
osVersion = 'windows-2019'
|
osVersion = 'windows-2022'
|
||||||
expected = '23.0.4'
|
expected = '23.0.4'
|
||||||
got = await setupBeam.getOTPVersion(spec, osVersion)
|
got = await setupBeam.getOTPVersion(spec, osVersion)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
@@ -294,7 +294,7 @@ describe('.getOTPVersion(_) - Erlang', () => {
|
|||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
spec = '23.0'
|
spec = '23.0'
|
||||||
osVersion = 'windows-2019'
|
osVersion = 'windows-2022'
|
||||||
expected = '23.0.4'
|
expected = '23.0.4'
|
||||||
got = await setupBeam.getOTPVersion(spec, osVersion)
|
got = await setupBeam.getOTPVersion(spec, osVersion)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
@@ -625,9 +625,9 @@ describe('.getOTPVersion(_) - Elixir', () => {
|
|||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
before = simulateInput('version-type', 'strict')
|
before = simulateInput('version-type', 'strict')
|
||||||
spec = '1.17'
|
spec = '1.19'
|
||||||
otpVersion = 'master'
|
otpVersion = 'master'
|
||||||
expected = 'v1.17-otp-27'
|
expected = 'v1.19-otp-28'
|
||||||
await setupBeam.installOTP(otpVersion)
|
await setupBeam.installOTP(otpVersion)
|
||||||
got = await setupBeam.getElixirVersion(spec, otpVersion)
|
got = await setupBeam.getElixirVersion(spec, otpVersion)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
@@ -695,18 +695,18 @@ describe('.getOTPVersion(_) - rebar3', () => {
|
|||||||
let spec
|
let spec
|
||||||
|
|
||||||
it('returns the expected value', async () => {
|
it('returns the expected value', async () => {
|
||||||
spec = '3.10.x'
|
spec = '3.26.x'
|
||||||
expected = '3.10.0'
|
expected = '3.26.0'
|
||||||
got = await setupBeam.getRebar3Version(spec)
|
got = await setupBeam.getRebar3Version(spec)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
spec = '3.11'
|
spec = '3.25'
|
||||||
expected = '3.11.1'
|
expected = '3.25.1'
|
||||||
got = await setupBeam.getRebar3Version(spec)
|
got = await setupBeam.getRebar3Version(spec)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
spec = '3.10'
|
spec = '3.26'
|
||||||
expected = '3.10.0'
|
expected = '3.26.0'
|
||||||
got = await setupBeam.getRebar3Version(spec)
|
got = await setupBeam.getRebar3Version(spec)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
})
|
})
|
||||||
@@ -972,7 +972,7 @@ describe('.getVersionFromSpec(_)', () => {
|
|||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
|
|
||||||
spec = 'latest'
|
spec = 'latest'
|
||||||
expected = '3.23.0'
|
expected = '3.27.0'
|
||||||
got = setupBeam.getVersionFromSpec(spec, matrix.rebar3)
|
got = setupBeam.getVersionFromSpec(spec, matrix.rebar3)
|
||||||
assert.deepStrictEqual(got, expected)
|
assert.deepStrictEqual(got, expected)
|
||||||
})
|
})
|
||||||
@@ -1040,7 +1040,9 @@ describe('mise.toml file', () => {
|
|||||||
"erlang" = "${erlang}"
|
"erlang" = "${erlang}"
|
||||||
elixir = { version = "${elixir}", postinstall="mix deps.get" } # comment, with space and ref:
|
elixir = { version = "${elixir}", postinstall="mix deps.get" } # comment, with space and ref:
|
||||||
"not-gleam" = 0.23 # not picked up
|
"not-gleam" = 0.23 # not picked up
|
||||||
"gleam" = "${gleam}" \n`
|
"gleam" = "${gleam}"
|
||||||
|
[env]
|
||||||
|
_.file = ".env"\n`
|
||||||
const filename = 'test/mise.toml'
|
const filename = 'test/mise.toml'
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
// Force \r\n to test in Windows
|
// Force \r\n to test in Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user