test: fix tests on Elixir 1.15+ #71
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - release/* | |
| - feature/* | |
| - bugfix/* | |
| - hotfix/* | |
| - docs/* | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| jobs: | |
| commits: | |
| name: Conventional Commits | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run the commit linter | |
| uses: wagoid/commitlint-github-action@v5 | |
| check: | |
| name: Code checks (Elixir ${{matrix.elixir}} on OTP ${{matrix.otp}}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # Update rule: | |
| # - latest Elixir on all supported OTP versions, | |
| # - previous Elixir on the last two supported OTP versions, | |
| # - oldest Elixir on the first and last supported OTP versions, | |
| # - other Elixir version on the first supported OTP version. | |
| - elixir: "1.19" | |
| otp: "28.1" | |
| - elixir: "1.19" | |
| otp: "27.3" | |
| - elixir: "1.19" | |
| otp: "26.3" | |
| - elixir: "1.18" | |
| otp: "27.3" | |
| - elixir: "1.18" | |
| otp: "26.3" | |
| - elixir: "1.17" | |
| otp: "25.3" | |
| - elixir: "1.16" | |
| otp: "24.3" | |
| - elixir: "1.15" | |
| otp: "26.3" | |
| - elixir: "1.15" | |
| otp: "24.3" | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Elixir/OTP | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| elixir-version: ${{matrix.elixir}} | |
| - name: Fetch the dependencies | |
| run: mix deps.get | |
| - name: Run the checks | |
| run: mix check |