Skip to content

Commit e1df334

Browse files
committed
Update Elixir/Erlang versions in CI
1 parent 962426d commit e1df334

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ jobs:
2525

2626
- os: ubuntu-22.04
2727
erlang: "24.2"
28-
elixir: "1.13"
29-
30-
- os: ubuntu-22.04
31-
erlang: "24.2"
32-
elixir: "1.12"
28+
elixir: "1.14"
3329
env:
3430
MIX_ENV: test
3531
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -59,7 +55,7 @@ jobs:
5955
if: ${{ matrix.lint }}
6056

6157
- name: Run tests
62-
run: mix test --trace
58+
run: mix test
6359
if: ${{ !matrix.coverage }}
6460

6561
- name: Run tests with code coverage

.github/workflows/publish-to-hex.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Install Erlang and Elixir
2222
uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
2323
with:
24-
otp-version: "26.0.2"
25-
elixir-version: "1.15.4"
24+
otp-version: "27.2"
25+
elixir-version: "1.18"
2626

27-
- name: Fetch and compile dependencies
28-
run: mix do deps.get + deps.compile
27+
- name: Fetch dependencies
28+
run: mix deps.get
2929

3030
- name: Publish to Hex
3131
run: mix hex.publish --yes

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule Gettext.Mixfile do
1010
[
1111
app: :gettext,
1212
version: @version,
13-
elixir: "~> 1.12",
13+
elixir: "~> 1.14",
1414
elixirc_paths: elixirc_paths(Mix.env()),
1515
build_embedded: Mix.env() == :prod,
1616
deps: deps(),

0 commit comments

Comments
 (0)