Merge pull request #10722 from fix/ci-plt-cache-update

ci: ensure dialyzer plt cache is updated on changes
This commit is contained in:
Andrew Mayorov 2023-05-17 10:47:08 +03:00 committed by GitHub
commit 542739de09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ jobs:
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: "source/emqx_dialyzer_${{ matrix.otp }}_plt" path: "source/emqx_dialyzer_${{ matrix.otp }}_plt"
key: rebar3-dialyzer-plt-${{ matrix.profile }}-${{ matrix.otp }} key: rebar3-dialyzer-plt-${{ matrix.profile }}-${{ matrix.otp }}-${{ hashFiles('source/rebar.*', 'source/apps/*/rebar.*', 'source/lib-ee/*/rebar.*') }}
restore-keys: |
rebar3-dialyzer-plt-${{ matrix.profile }}-${{ matrix.otp }}-
- name: run static checks - name: run static checks
env: env:
PROFILE: ${{ matrix.profile }} PROFILE: ${{ matrix.profile }}