Skip to content

Commit b9675ff

Browse files
authored
CI housekeeping (#113)
List of changes: - add Elixir 1.17/Erlang OTP 27 to CI - bump GitHub actions - tally min Elixir version with CI
1 parent 7a21527 commit b9675ff

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
mix-test:
1111
runs-on: ubuntu-20.04
1212

13-
name: mix test (OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}})
14-
1513
env:
1614
MIX_ENV: test
1715
ELIXIR_VERSION: ${{ matrix.elixir }}
@@ -21,21 +19,21 @@ jobs:
2119
fail-fast: false
2220
matrix:
2321
include:
24-
- elixir: 1.10.4
25-
otp: 22.3
26-
- elixir: 1.14.0
27-
otp: 25.1
22+
- elixir: "1.10"
23+
otp: "22"
24+
- elixir: "1.17"
25+
otp: "27"
2826
lint: lint
2927

3028
steps:
31-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3230

3331
- uses: erlef/setup-beam@v1
3432
with:
3533
otp-version: ${{matrix.otp}}
3634
elixir-version: ${{matrix.elixir}}
3735

38-
- uses: actions/cache@v3
36+
- uses: actions/cache@v4
3937
with:
4038
path: |
4139
deps
@@ -60,6 +58,6 @@ jobs:
6058
if: ${{ matrix.lint }}
6159

6260
- run: mix coveralls.json
63-
- uses: codecov/codecov-action@v3
61+
- uses: codecov/codecov-action@v4
6462
with:
6563
env_vars: ELIXIR_VERSION,OTP_VERSION

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Telemetry.Metrics.MixProject do
88
name: "Telemetry.Metrics",
99
app: :telemetry_metrics,
1010
version: @version,
11-
elixir: "~> 1.7",
11+
elixir: "~> 1.10",
1212
start_permanent: Mix.env() == :prod,
1313
preferred_cli_env: preferred_cli_env(),
1414
deps: deps(),

0 commit comments

Comments
 (0)