Fix CI (don't use 26.2.5 on Windows; be strict when comparing version… #380
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |