From a58df3b1bfaf8d20b59d03262b24d5cc1742e872 Mon Sep 17 00:00:00 2001 From: akash-akya Date: Sat, 20 Jul 2024 12:55:16 +0530 Subject: [PATCH] Fix warnings --- .github/workflows/ci.yaml | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 123210a..0a5d819 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -158,7 +158,7 @@ jobs: # mix dialyzer --plt - run: mix deps.get - - run: mix compile --force --warnings-as-errors + - run: MIX_ENV=prod mix compile --force --warnings-as-errors - run: mix deps.unlock --check-unused - run: mix format --check-formatted - run: mix credo --strict diff --git a/mix.exs b/mix.exs index bdb2ebf..375f8b7 100644 --- a/mix.exs +++ b/mix.exs @@ -136,7 +136,7 @@ defmodule Vix.MixProject do end defp maybe_kino do - if Version.compare(System.version(), "1.13.0") in [:gt, :eq] do + if Version.compare(System.version(), "1.14.0") in [:gt, :eq] do [{:kino, "~> 0.7", optional: true}] else []