ci: ensure dialyzer plt cache is updated on changes

This commit is contained in:
Andrew Mayorov 2023-05-16 18:19:47 +03:00
parent c113a8ac6a
commit 53e961f8b2
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
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 }}