Skip to content

Commit

Permalink
Testing GHA with --warnings-as-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertDober committed Jul 2, 2024
1 parent c19c017 commit 2006e86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/earmark_parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defmodule EarmarkParser do

@type t :: {:ok, ast(), []} | {:error, ast(), errors()}

def test_warnings_as_errors(unused), do: 42

Check warning on line 17 in lib/earmark_parser.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | OTP 24)

variable "unused" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 17 in lib/earmark_parser.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | OTP 25)

variable "unused" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 17 in lib/earmark_parser.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.15.x | OTP 25)

variable "unused" is unused (if the variable is not meant to be used, prefix it with an underscore)
@moduledoc ~S"""
### API
Expand Down

0 comments on commit 2006e86

Please sign in to comment.