Skip to content

Commit

Permalink
Invalidate build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Jun 14, 2024
1 parent a8fc4ad commit b4330e7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
rebar3:
- '3.20.0'
otp:
- '27'
- '26'
Expand All @@ -30,24 +32,24 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
key: ${{ runner.os }}-hex2-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
restore-keys: |
${{ runner.os }}-hex-
${{ runner.os }}-hex2-
- name: Cache Dialyzer PLTs
uses: actions/cache@v2
with:
path: ~/.cache/rebar3/rebar3_*_plt
key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
key: ${{ runner.os }}--dialyzer2-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
restore-keys: |
${{ runner.os }}-dialyzer-
${{ runner.os }}-dialyzer2-
# Install Erlang
- name: Install Erlang/OTP
uses: erlef/setup-beam@v1
with:
version-type: strict
otp-version: ${{matrix.otp}}
rebar3-version: '3.20.0'
rebar3-version: ${{matrix.rebar3}}

# Compile
- name: Compile
Expand Down

0 comments on commit b4330e7

Please sign in to comment.