Require Elixir 1.10, bump CI cache We require Elixir 1.10 because it requires OTP 21+ which we need for the :public_key.pkix_verify_hostname_match_fun function to securely download. Also updating the cache key. When we need to bump again, simply change to v2, etc. Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 57626bd..dd7592a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -14,8 +14,8 @@ jobs:
matrix:
include:
- pair:
- elixir: '1.9'
- otp: 20
+ elixir: '1.10'
+ otp: 21
- pair:
elixir: '1.12'
otp: 24
@@ -30,12 +30,8 @@ jobs:
- uses: actions/cache@v2
with:
- path: |
- deps
- _build
- key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
- restore-keys: |
- ${{ runner.os }}-mix-
+ path: deps
+ key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}-v1
- run: mix deps.get
diff --git a/mix.exs b/mix.exs
index 51567a4..2b21db4 100644
--- a/mix.exs
+++ b/mix.exs
@@ -8,7 +8,7 @@ defmodule DartSass.MixProject do
[
app: :dart_sass,
version: @version,
- elixir: "~> 1.9",
+ elixir: "~> 1.10",
deps: deps(),
description: "Mix tasks for installing and invoking sass",
package: [