Skip to content

Commit

Permalink
Fix CI (#2)
Browse files Browse the repository at this point in the history
* fix CI
  • Loading branch information
GwendalLaurent authored Sep 17, 2024
1 parent a078b4e commit be82628
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Continuous Integration

on:
- push:
push:
branches:
- main
- pull_request
- workflow_dispatch
pull_request:
types: [opened, synchronize]

jobs:
ci:
Expand All @@ -15,12 +15,6 @@ jobs:
matrix:
otp: ['25', '26', '27']
rebar3: ['3']
# latest rebar3 versions that do not give problems with selected OTPs
include:
- otp: '23'
rebar3: '3.20.0'
- otp: '24'
rebar3: '3.23.0'
steps:

- uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{erl_opts, [debug_info]}.

{deps, [
hackney,
jsx
]}.

{dialyzer, [
{warnings, [
error_handling,
no_unknown
]}
]}.
2 changes: 1 addition & 1 deletion src/rebar3_grisp_io_io.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ success(Msg, Args) ->

-spec do_ask(Prompt, Type) -> UserInput | no_return() when
Type :: input_type(),
Prompt :: binary(),
Prompt :: string(),
UserInput :: unicode:chardata().
do_ask(Prompt, password) ->
NewPrompt = erlang:iolist_to_binary([Prompt, " > "]),
Expand Down

0 comments on commit be82628

Please sign in to comment.