From 368380348d73f5590fe018643f2e3806931c3993 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Mon, 11 Sep 2023 18:29:58 -0400 Subject: [PATCH] chore: bump elixir version --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/release.yml | 4 ++-- .gitignore | 2 ++ .tool-versions | 2 ++ 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .tool-versions diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c530ac27c..a9527fda6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,14 +16,15 @@ jobs: - name: Set up Elixir uses: erlef/setup-beam@v1 with: - elixir-version: "1.14" - otp-version: "24.3" + version-file: .tool-versions + version-type: strict - name: Install Dependencies run: | mix local.rebar --force mix local.hex --force mix deps.get + - name: Run Tests run: mix test @@ -36,8 +37,8 @@ jobs: - name: Set up Elixir uses: erlef/setup-beam@v1 with: - elixir-version: "1.14" - otp-version: "24.3" + version-file: .tool-versions + version-type: strict - name: Install Dependencies run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b295541b8..33917eb54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,8 +13,8 @@ jobs: - name: Set up Elixir uses: erlef/setup-beam@v1 with: - elixir-version: "1.14" - otp-version: "24.3" + version-file: .tool-versions + version-type: strict - name: Restore dependencies cache uses: actions/cache@v2 with: diff --git a/.gitignore b/.gitignore index 5e6ac1b61..70fae60fe 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ guardian-*.tar .DS_Store /priv/plts/*.plt /priv/plts/*.plt.hash + +!.tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 000000000..1d98e34af --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +erlang 26.0 +elixir 1.15