Skip to content

Bump version to 1.7.2-rc.0 #477

Bump version to 1.7.2-rc.0

Bump version to 1.7.2-rc.0 #477

name: "Compatibility: Elixir"
on:
push:
branches:
- master
- release/*
jobs:
test_on_source:
runs-on: ubuntu-18.04
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
name: "[${{matrix.otp}}/${{matrix.elixir}}] Elixir ${{matrix.repo_branch}} source code analysed by Credo [OTP/Elixir]"
strategy:
fail-fast: false
matrix:
otp: [23.3, 24.2, 25.3]
elixir: [1.11.4, 1.12.3, 1.13.4, 1.14.5, 1.15.7]
exclude:
- elixir: 1.11.4
otp: 25.3
- elixir: 1.12.3
otp: 25.3
- elixir: 1.14.5
otp: 25.3
- elixir: 1.15.7
otp: 26.1
- elixir: 1.15.7
otp: 23.3
- elixir: 1.15.7
otp: 24.2
repo_url: ["https://github.com/elixir-lang/elixir.git"]
repo_branch: ["v1.13", "main"]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix deps.compile
- run: mix compile
- run: mkdir -p tmp
- run: git clone ${{matrix.repo_url}} tmp/${{matrix.repo_branch}} --depth=1 --branch ${{matrix.repo_branch}}
- run: mix credo tmp/${{matrix.repo_branch}} --strict --mute-exit-status