Skip to content

Commit 4fde17f

Browse files
committed
update worflow file v28.0
1 parent 5741d8a commit 4fde17f

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/ci_v28.0.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -90,32 +90,6 @@ jobs:
9090
otp-version: ${{matrix.otp}}
9191
elixir-version: ${{matrix.elixir}}
9292

93-
- name: Restore PLT cache
94-
id: plt_cache
95-
uses: actions/cache/restore@v4
96-
with:
97-
key: |
98-
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
99-
restore-keys: |
100-
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-
101-
path: |
102-
priv/plts
103-
if: ${{ matrix.lint }}
104-
105-
- name: Create PLTs
106-
if: ${{ steps.plt_cache.outputs.cache-hit != 'true' && matrix.lint }}
107-
run: mix dialyzer --plt
108-
109-
- name: Save PLT cache
110-
id: plt_cache_save
111-
uses: actions/cache/save@v4
112-
if: ${{ steps.plt_cache.outputs.cache-hit != 'true' && matrix.lint }}
113-
with:
114-
key: |
115-
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
116-
path: |
117-
priv/plts
118-
11993
- name: Cache dependencies/builds
12094
uses: actions/cache@v4
12195
with:
@@ -155,6 +129,32 @@ jobs:
155129
run: mix format --check-formatted
156130
if: ${{ matrix.lint }}
157131

132+
- name: Restore PLT cache
133+
id: plt_cache
134+
uses: actions/cache/restore@v4
135+
with:
136+
key: |
137+
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
138+
restore-keys: |
139+
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-
140+
path: |
141+
priv/plts
142+
if: ${{ matrix.lint }}
143+
144+
- name: Create PLTs
145+
if: ${{ steps.plt_cache.outputs.cache-hit != 'true' && matrix.lint }}
146+
run: mix dialyzer --plt
147+
148+
- name: Save PLT cache
149+
id: plt_cache_save
150+
uses: actions/cache/save@v4
151+
if: ${{ steps.plt_cache.outputs.cache-hit != 'true' && matrix.lint }}
152+
with:
153+
key: |
154+
plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
155+
path: |
156+
priv/plts
157+
158158
- name: Dialyzer
159159
run: mix dialyzer --format github --format dialyxir
160160
if: ${{ matrix.lint }}

0 commit comments

Comments
 (0)