mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 15:16:08 +00:00
39 lines
959 B
YAML
39 lines
959 B
YAML
---
|
|
name: hexpm-mirrors
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
test-failing-first-mirror:
|
|
name: Test option hexpm-mirrors with a dummy first mirror
|
|
runs-on: ${{matrix.os}}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: ['ubuntu-22.04', 'windows-2022']
|
|
otp-version: ['24']
|
|
elixir-version: ['v1.14', '']
|
|
install-rebar: [true, false]
|
|
install-hex: [true, false]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use erlef/setup-beam
|
|
id: setup-beam
|
|
uses: ./
|
|
with:
|
|
otp-version: ${{matrix.otp-version}}
|
|
elixir-version: ${{matrix.elixir-version}}
|
|
install-rebar: ${{matrix.install-rebar}}
|
|
install-hex: ${{matrix.install-hex}}
|
|
hexpm-mirrors: |
|
|
https://mirror.invalid
|
|
https://cdn.jsdelivr.net/hex
|
|
https://builds.hex.pm
|