From a338aba690263370268b71794ff1ed2a6808ffa5 Mon Sep 17 00:00:00 2001 From: Argonus Date: Sat, 2 Dec 2023 15:51:57 +0100 Subject: [PATCH] Bump required version of elixir - Bump kayrock v0.2 - Bump required version to 1.10 - Add tests for 1.15 --- .github/workflows/checks.yml | 8 ++++---- .github/workflows/test.yml | 24 ++++++++++-------------- mix.exs | 6 +++--- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 46db08e..4e3088c 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,8 +15,8 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true strategy: matrix: - elixir: ['1.12.3'] - otp: ['24.3.4'] + elixir: ['1.15'] + otp: ['26.1'] steps: - name: Cancel previous runs @@ -64,8 +64,8 @@ jobs: strategy: fail-fast: false matrix: - elixir: ['1.12.3'] - otp: ['24.3.4'] + elixir: ['1.15'] + otp: ['26.1'] steps: - name: Cancel Previous Runs diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f957d13..272e172 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,21 +8,19 @@ on: jobs: setup: - name: test / setup + name: test | setup dependencies runs-on: ubuntu-20.04 env: MIX_ENV: test strategy: matrix: pair: - - elixir: 1.14 - otp: 25.2 + - elixir: 1.15 + otp: 26.1 - elixir: 1.13 otp: 24.3 - - elixir: 1.11 - otp: 21.3 - - elixir: 1.8 - otp: 20.3 + - elixir: '1.10' + otp: 22.3 steps: - name: Cancel previous runs @@ -74,14 +72,12 @@ jobs: fail-fast: false matrix: pair: - - elixir: 1.14 - otp: 25.2 + - elixir: 1.15 + otp: 26.1 - elixir: 1.13 otp: 24.3 - - elixir: 1.11 - otp: 21.3 - - elixir: 1.8 - otp: 20.3 + - elixir: '1.10' + otp: 22.3 steps: - uses: actions/checkout@v2 @@ -107,4 +103,4 @@ jobs: key: ${{ runner.os }}-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-mix-deps-compile-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} - name: Run unit tests - run: mix test \ No newline at end of file + run: mix test diff --git a/mix.exs b/mix.exs index 4fd61a2..0ccdb53 100644 --- a/mix.exs +++ b/mix.exs @@ -6,8 +6,8 @@ defmodule Kayrock.MixProject do def project do [ app: :kayrock, - version: "0.1.15", - elixir: "~> 1.1", + version: "0.2.0", + elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test], @@ -64,7 +64,7 @@ defmodule Kayrock.MixProject do defp package do [ - maintainers: ["Dan Swain"], + maintainers: ["Dan Swain", "Argonus"], files: ["lib", "config/config.exs", "mix.exs", "README.md"], licenses: ["MIT"], links: %{"GitHub" => @source_url}