Skip to content

Commit

Permalink
chore(CI): Update Elixir/Erlang compatibility matrix. (#18)
Browse files Browse the repository at this point in the history
* chore(CI): Update Elixir/Erlang compatibility matrix.

* chore: Run Elixir 1.15 formatter.
  • Loading branch information
jimsynz authored Nov 8, 2023
1 parent 1d89431 commit 12c760a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mix_credo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
MIX_ENV: test
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
elixir: [1.15.7]
otp: [26.1.2]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mix_doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
MIX_ENV: test
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
elixir: [1.15.7]
otp: [26.1.2]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mix_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
MIX_ENV: test
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
elixir: [1.15.7]
otp: [26.1.2]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mix_git_ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
elixir-version: "1.13.4"
otp-version: "24.3.4"
elixir-version: "1.15.7"
otp-version: "26.1.2"
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v1
id: mix-cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mix_hex_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
MIX_ENV: test
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
elixir: [1.15.7]
otp: [26.1.2]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mix_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_TOKEN }}
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
elixir: [1.15.7]
otp: [26.1.2]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion lib/buildkite_test_collector/tracing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule BuildkiteTestCollector.Tracing do
end
```
"""
@spec measure(tags, section, nil | String.t(), (() -> result)) :: result when result: any
@spec measure(tags, section, nil | String.t(), (-> result)) :: result when result: any
def measure(%{module: module, test: name} = _tags, section, detail \\ nil, callable)
when is_function(callable, 0) do
start_at = Instant.now()
Expand Down
6 changes: 3 additions & 3 deletions test/support/exunit_data_helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ defmodule BuildkiteTestCollector.ExUnitDataHelpers do
},
[
{FailingTest, :"test failing", 1,
[file: 'test/support/fixture_tests/failing_test.exs', line: 6]}
[file: ~c"test/support/fixture_tests/failing_test.exs", line: 6]}
]}
]},
tags: %{
Expand Down Expand Up @@ -113,12 +113,12 @@ defmodule BuildkiteTestCollector.ExUnitDataHelpers do
[
{InvalidTest, :__ex_unit_setup_all_0, 1,
[
file: 'test/support/fixture_tests/invalid_test.exs',
file: ~c"test/support/fixture_tests/invalid_test.exs",
line: 6,
error_info: %{module: Exception}
]},
{InvalidTest, :__ex_unit__, 2,
[file: 'test/support/fixture_tests/invalid_test.exs', line: 1]}
[file: ~c"test/support/fixture_tests/invalid_test.exs", line: 1]}
]}
]},
tests: [
Expand Down

0 comments on commit 12c760a

Please sign in to comment.