Skip to content

Commit

Permalink
CI Fix & Elixir Requirement for ~> 1.11 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Jan 30, 2024
1 parent ec63877 commit 7f0f41d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
BUILD_EMBEDDED: true
DIALYZER_PLT_PRIV: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_ELIXIR_VERSION: 1.14
DEFAULT_OTP_VERSION: 25.2
DEFAULT_ELIXIR_VERSION: 1.16
DEFAULT_OTP_VERSION: 26.2

jobs:
format:
Expand Down Expand Up @@ -50,19 +50,19 @@ jobs:
fail-fast: false
matrix:
include:
- otp: '21.3'
elixir: '1.10'
runs-on: ubuntu-18.04
- otp: '25.0'
elixir: '1.14'
- otp: "21.3"
elixir: "1.11"
runs-on: ubuntu-20.04
- otp: "25.0"
elixir: "1.14"
runs-on: ubuntu-22.04
- otp: "26.2"
elixir: "main"
runs-on: ubuntu-latest
- otp: '25.0'
elixir: 'main'
runs-on: ubuntu-latest
- runs-on: ubuntu-latest
- runs-on: ubuntu-22.04
# otp: '${{ env.DEFAULT_OTP_VERSION }}'
# elixir: '${{ env.DEFAULT_ELIXIR_VERSION }}'
enable_coverage_export: 'true'
enable_coverage_export: "true"

runs-on: ${{ matrix.runs-on }}

Expand Down Expand Up @@ -95,7 +95,6 @@ jobs:
- run: mix test
if: ${{ !matrix.enable_coverage_export }}


credo:
name: Check Credo

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Crontab.Mixfile do
[
app: :crontab,
version: @version,
elixir: "~> 1.10",
elixir: "~> 1.11",
build_embedded:
Mix.env() == :prod or System.get_env("BUILD_EMBEDDED", "false") in ["1", "true"],
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 7f0f41d

Please sign in to comment.