Skip to content

Commit 9a81b41

Browse files
committed
Upgrade deprecated actions
1 parent ad7d616 commit 9a81b41

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/actions/elixir-setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ runs:
6464
otp-version: ${{ inputs.otp-version }}
6565

6666
- name: Get deps cache
67-
uses: actions/cache@v2
67+
uses: actions/cache@v4
6868
with:
6969
path: deps/
7070
key: deps-${{ inputs.cache-key }}-${{ runner.os }}-${{ hashFiles('**/mix.lock') }}
7171
restore-keys: |
7272
deps-${{ inputs.cache-key }}-${{ runner.os }}-
7373
7474
- name: Get build cache
75-
uses: actions/cache@v2
75+
uses: actions/cache@v4
7676
id: build-cache
7777
with:
7878
path: _build/${{env.MIX_ENV}}/
@@ -81,7 +81,7 @@ runs:
8181
build-${{ inputs.cache-key }}-${{ runner.os }}-${{ inputs.otp-version }}-${{ inputs.elixir-version }}-${{ env.MIX_ENV }}-
8282
8383
- name: Get Hex cache
84-
uses: actions/cache@v2
84+
uses: actions/cache@v4
8585
id: hex-cache
8686
with:
8787
path: ~/.hex

.github/workflows/elixir-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
build-flags: --warnings-as-errors
4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848

4949
- name: Setup Elixir Project
5050
uses: ./.github/actions/elixir-setup

.github/workflows/elixir-dialyzer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Setup Elixir Project
2727
uses: ./.github/actions/elixir-setup
@@ -34,7 +34,7 @@ jobs:
3434
# Don't cache PLTs based on mix.lock hash, as Dialyzer can incrementally update even old ones
3535
# Cache key based on Elixir & Erlang version (also useful when running in matrix)
3636
- name: Restore PLT cache
37-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3838
id: plt_cache
3939
with:
4040
key: plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}-${{ hashFiles('**/*.ex') }}

.github/workflows/elixir-quality-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Setup Elixir Project
2525
uses: ./.github/actions/elixir-setup

0 commit comments

Comments
 (0)