diff --git a/.credo.exs b/.credo.exs index 00894662..d27f0a4d 100644 --- a/.credo.exs +++ b/.credo.exs @@ -71,7 +71,19 @@ # or the `schema` macro in Ecto schemas to trigger DuplicatedCode, just # set the `excluded_macros` parameter to `[:schema, :setup, :test]`. # - {Credo.Check.Design.DuplicatedCode, excluded_macros: []}, + { + Credo.Check.Design.DuplicatedCode, + excluded_macros: [], + files: %{ + excluded: [ + # Tests may have a bit of duplication, it's fine + "test/**/*_test.exs", + # Ah the formatters... we may want to make them nicer one of these days or use a library. + # But.. not now. + "lib/benchee/formatters/console/*.ex" + ] + } + }, # You can also customize the exit_status of each check. # If you don't want TODO comments to cause `mix credo` to fail, just # set this value to 0 (zero). diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8014f52b..ffe905d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,10 +40,10 @@ jobs: otp_version: '27.3' - elixir_version: '1.18' otp_version: '27.3' + - elixir_version: '1.19' + otp_version: '28.1' type_check: true lint: true - - elixir_version: '1.19.0-rc.2' - otp_version: '28.1' steps: - name: Checkout