Skip to content

Commit eab39e1

Browse files
[GH-1900] Fixing ActionLint suggestions on Github Action files (#1906)
1 parent ba8b086 commit eab39e1

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
distribution: 'zulu'
6565
java-version: 11
6666
- name: Cache Maven packages
67-
uses: actions/cache@v3
67+
uses: actions/cache@v4
6868
with:
6969
path: ~/.m2
7070
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ jobs:
8383
name: generated-docs
8484
path: staging
8585
- name: Cache Python packages
86-
uses: actions/cache@v3
86+
uses: actions/cache@v4
8787
with:
8888
path: ~/.cache/pip
8989
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
9090
restore-keys: |
9191
${{ runner.os }}-pip-
9292
- name: Cache Maven packages
93-
uses: actions/cache@v3
93+
uses: actions/cache@v4
9494
with:
9595
path: ~/.m2
9696
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
- run: sudo apt-get update
6565
- run: sudo apt-get install sbt
6666
- name: Cache SBT
67-
uses: actions/cache@v3
67+
uses: actions/cache@v4
6868
with:
6969
path: |
7070
~/.ivy2/cache
7171
~/.sbt
7272
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
7373
- name: Cache Maven packages
74-
uses: actions/cache@v3
74+
uses: actions/cache@v4
7575
with:
7676
path: ~/.m2
7777
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
python-version: '3.10'
101101
- name: Cache Maven packages
102-
uses: actions/cache@v3
102+
uses: actions/cache@v4
103103
with:
104104
path: ~/.m2
105105
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pip install pre-commit
4040
- name: set PY
4141
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
42-
- uses: actions/cache@v3
42+
- uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/pre-commit
4545
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
python-version: ${{ matrix.python }}
101101
- name: Cache Maven packages
102-
uses: actions/cache@v3
102+
uses: actions/cache@v4
103103
with:
104104
path: ~/.m2
105105
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)