diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 937bacd..fa71ba9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/checkout@v4.2.2 + - uses: actions/cache@v4.1.2 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/setup-beam@v1.18.2 with: elixir-version: ${{ matrix.elixir }} - - otp-version: ${{ matrix.erlang }} + otp-version: ${{ matrix.otp }} - run: mix deps.get @@ -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/checkout@v4.2.2 + - uses: actions/cache@v4.1.2 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/setup-beam@v1.18.2 with: elixir-version: ${{ matrix.elixir }} - - otp-version: ${{ matrix.erlang }} + otp-version: ${{ matrix.otp }} - run: mix deps.get @@ -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