Skip to content

Commit

Permalink
add Elixir 1.17 to CI (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga authored Jun 15, 2024
1 parent 5c3375b commit d7edbd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,9 @@ jobs:
env:
MIX_ENV: bench

strategy:
matrix:
# TODO
elixir: [v1.17.0-rc.0]
otp: [27]
clickhouse: [latest]

services:
clickhouse:
image: clickhouse/clickhouse-server:${{ matrix.clickhouse }}
image: clickhouse/clickhouse-server:latest
ports:
- 8123:8123
env:
Expand All @@ -33,18 +26,18 @@ jobs:

- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
elixir-version: 1
otp-version: 27

- uses: actions/cache@v4
with:
path: |
deps
_build
key: bench-${{ matrix.otp }}-${{ matrix.elixir }}-${{ github.head_ref || github.ref }}-${{ hashFiles('**/mix.lock') }}
key: bench-${{ github.head_ref || github.ref }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
bench-${{ matrix.otp }}-${{ matrix.elixir }}-${{ github.head_ref || github.ref }}-
bench-${{ matrix.otp }}-${{ matrix.elixir }}-refs/heads/master-
bench-${{ github.head_ref || github.ref }}-
bench-refs/heads/master-
- run: mix deps.get --only $MIX_ENV
- run: mix compile --warnings-as-errors
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
clickhouse: [latest]
timezone: [UTC]
include:
- elixir: 1.16
otp: 26
- elixir: 1.17
otp: 27
clickhouse: latest
timezone: Europe/Berlin
# TODO
- elixir: v1.17.0-rc.0
- elixir: 1.17
otp: 27
clickhouse: latest
timezone: UTC
Expand Down Expand Up @@ -77,8 +76,7 @@ jobs:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
# TODO
elixir-version: v1.17.0-rc.0
elixir-version: 1
otp-version: 27
- run: elixir -v
- run: mix format --check-formatted

0 comments on commit d7edbd2

Please sign in to comment.