Skip to content

Commit

Permalink
CI housekeeping (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Jul 7, 2024
1 parent 6dbbb9a commit 1f5ff63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
elixir: 1.8.2
otp: 20.3.x
- pair:
elixir: 1.14.x
otp: 25.x
elixir: 1.17.x
otp: 27.x
lint: lint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion lib/decimal/context.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defmodule Decimal.Context do
Runs function with given context.
"""
doc_since("1.9.0")
@spec with(t(), (() -> x)) :: x when x: var
@spec with(t(), (-> x)) :: x when x: var
def with(%Context{} = context, fun) when is_function(fun, 0) do
old = Process.put(@context_key, context)

Expand Down

0 comments on commit 1f5ff63

Please sign in to comment.