Skip to content

Commit

Permalink
isolate to otp 26 and remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
XiXiaPdx committed Dec 29, 2023
1 parent e08a577 commit 8af9575
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
include:
- elixir: '1.14'
otp: '26'
- elixir: '1.12'
otp: '24'
# - elixir: '1.12'
# otp: '24'

defaults:
run:
Expand All @@ -95,23 +95,23 @@ jobs:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}

- name: Restore deps cache
uses: actions/cache@v2
with:
path: examples/deps
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
restore-keys: |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
- name: Restore _build cache
uses: actions/cache@v2
with:
path: examples/_build
key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
restore-keys: |
build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
# - name: Restore deps cache
# uses: actions/cache@v2
# with:
# path: examples/deps
# key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
# restore-keys: |
# deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
# deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}

# - name: Restore _build cache
# uses: actions/cache@v2
# with:
# path: examples/_build
# key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
# restore-keys: |
# build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
# build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}

- name: Install deps
run: mix deps.get
Expand All @@ -121,7 +121,7 @@ jobs:

- name: Compile application
run: |
mix compile --return-errors --no-compile
mix compile
env:
MIX_ENV: test

Expand Down

0 comments on commit 8af9575

Please sign in to comment.