Skip to content

Commit

Permalink
CI housekeeping (#113)
Browse files Browse the repository at this point in the history
List of changes:
- add Elixir 1.17/Erlang OTP 27 to CI
- bump GitHub actions
- tally min Elixir version with CI
  • Loading branch information
kianmeng authored Sep 3, 2024
1 parent 7a21527 commit b9675ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
mix-test:
runs-on: ubuntu-20.04

name: mix test (OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}})

env:
MIX_ENV: test
ELIXIR_VERSION: ${{ matrix.elixir }}
Expand All @@ -21,21 +19,21 @@ jobs:
fail-fast: false
matrix:
include:
- elixir: 1.10.4
otp: 22.3
- elixir: 1.14.0
otp: 25.1
- elixir: "1.10"
otp: "22"
- elixir: "1.17"
otp: "27"
lint: lint

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
deps
Expand All @@ -60,6 +58,6 @@ jobs:
if: ${{ matrix.lint }}

- run: mix coveralls.json
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
env_vars: ELIXIR_VERSION,OTP_VERSION
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Telemetry.Metrics.MixProject do
name: "Telemetry.Metrics",
app: :telemetry_metrics,
version: @version,
elixir: "~> 1.7",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
preferred_cli_env: preferred_cli_env(),
deps: deps(),
Expand Down

0 comments on commit b9675ff

Please sign in to comment.