Commit 0a5b331791c0557575b61456ae634e8a8a0d033e

Michael Crumm 2021-07-29T13:27:25

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>

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: [