Skip to content

Commit

Permalink
ci: updated ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonator committed Nov 6, 2024
1 parent 5192020 commit ae94953
Showing 1 changed file with 46 additions and 158 deletions.
204 changes: 46 additions & 158 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,22 @@ on: push

jobs:
dialyzer:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/cache@v3
- uses: actions/[email protected]

- uses: actions/[email protected]
with:
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}

key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
path: |
_build
deps
- uses: erlef/setup-beam@v1

- uses: erlef/[email protected]
with:
elixir-version: ${{ matrix.elixir }}

otp-version: ${{ matrix.erlang }}
otp-version: ${{ matrix.otp }}

- run: mix deps.get

Expand All @@ -35,100 +31,44 @@ jobs:

strategy:
matrix:
include:
- elixir: 1.12.x

erlang: 22.x

os: ubuntu-20.04

- elixir: 1.12.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.12.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.13.x

erlang: 22.x

os: ubuntu-20.04

- elixir: 1.13.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.13.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.14.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.14.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.14.x

erlang: 25.x

os: ubuntu-22.04

- elixir: 1.15.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.15.x

erlang: 25.x

os: ubuntu-22.04

elixir:
- 1.17.x
- 1.16.x
- 1.15.x

otp:
- 27.x
- 26.x
- 25.x
- 24.x

exclude:
- elixir: 1.15.x
otp: 27.x

erlang: 26.x
- elixir: 1.16.x
otp: 27.x

os: ubuntu-22.04
- elixir: 1.17.x
otp: 24.x

test:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/cache@v3
- uses: actions/[email protected]

- uses: actions/[email protected]
with:
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}

key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
path: |
_build
deps
- uses: erlef/setup-beam@v1

- uses: erlef/[email protected]
with:
elixir-version: ${{ matrix.elixir }}

otp-version: ${{ matrix.erlang }}
otp-version: ${{ matrix.otp }}

- run: mix deps.get

Expand All @@ -140,75 +80,23 @@ jobs:

strategy:
matrix:
include:
- elixir: 1.12.x

erlang: 22.x

os: ubuntu-20.04

- elixir: 1.12.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.12.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.13.x

erlang: 22.x

os: ubuntu-20.04

- elixir: 1.13.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.13.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.14.x

erlang: 23.x

os: ubuntu-20.04

- elixir: 1.14.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.14.x

erlang: 25.x

os: ubuntu-22.04

- elixir: 1.15.x

erlang: 24.x

os: ubuntu-22.04

- elixir: 1.15.x

erlang: 25.x

os: ubuntu-22.04

elixir:
- 1.17.x
- 1.16.x
- 1.15.x

otp:
- 27.x
- 26.x
- 25.x
- 24.x

exclude:
- elixir: 1.15.x
otp: 27.x

erlang: 26.x
- elixir: 1.16.x
otp: 27.x

os: ubuntu-22.04
- elixir: 1.17.x
otp: 24.x

0 comments on commit ae94953

Please sign in to comment.