Skip to content

Commit c63f28d

Browse files
fix: Fixing some of the warnings with the github actions (feast-dev#4763)
Fixing some of the warnings with the github actions, most of them related to deprecated actions or libraries. Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com>
1 parent efdebcd commit c63f28d

7 files changed

+16
-16
lines changed

.github/workflows/java_master_only.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ jobs:
7272
java-version: '11'
7373
java-package: jdk
7474
architecture: x64
75-
- uses: actions/cache@v2
75+
- uses: actions/cache@v4
7676
with:
7777
path: ~/.m2/repository
7878
key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}
7979
restore-keys: |
8080
${{ runner.os }}-it-maven-
81-
- uses: actions/cache@v2
81+
- uses: actions/cache@v4
8282
with:
8383
path: ~/.m2/repository
8484
key: ${{ runner.os }}-ut-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/java_pr.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
java-version: '11'
5454
java-package: jdk
5555
architecture: x64
56-
- uses: actions/cache@v2
56+
- uses: actions/cache@v4
5757
with:
5858
path: ~/.m2/repository
5959
key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}
6060
restore-keys: |
6161
${{ runner.os }}-it-maven-
62-
- uses: actions/cache@v2
62+
- uses: actions/cache@v4
6363
with:
6464
path: ~/.m2/repository
6565
key: ${{ runner.os }}-ut-maven-${{ hashFiles('**/pom.xml') }}
@@ -97,11 +97,11 @@ jobs:
9797
python-version: "3.11"
9898
architecture: x64
9999
- name: Authenticate to Google Cloud
100-
uses: 'google-github-actions/auth@v1'
100+
uses: google-github-actions/auth@v2
101101
with:
102102
credentials_json: '${{ secrets.GCP_SA_KEY }}'
103103
- name: Set up gcloud SDK
104-
uses: google-github-actions/setup-gcloud@v1
104+
uses: google-github-actions/setup-gcloud@v2
105105
with:
106106
project_id: ${{ secrets.GCP_PROJECT_ID }}
107107
- run: gcloud auth configure-docker --quiet
@@ -137,18 +137,18 @@ jobs:
137137
with:
138138
python-version: '3.11'
139139
architecture: 'x64'
140-
- uses: actions/cache@v2
140+
- uses: actions/cache@v4
141141
with:
142142
path: ~/.m2/repository
143143
key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}
144144
restore-keys: |
145145
${{ runner.os }}-it-maven-
146146
- name: Authenticate to Google Cloud
147-
uses: 'google-github-actions/auth@v1'
147+
uses: google-github-actions/auth@v2
148148
with:
149149
credentials_json: '${{ secrets.GCP_SA_KEY }}'
150150
- name: Set up gcloud SDK
151-
uses: google-github-actions/setup-gcloud@v1
151+
uses: google-github-actions/setup-gcloud@v2
152152
with:
153153
project_id: ${{ secrets.GCP_PROJECT_ID }}
154154
- name: Use gcloud CLI

.github/workflows/lint_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Validate PR title
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: amannn/action-semantic-pull-request@v4
17+
- uses: amannn/action-semantic-pull-request@v5
1818
with:
1919
# Must use uppercase
2020
subjectPattern: ^(?=[A-Z]).+$

.github/workflows/operator_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/checkout@v4
99
- name: Install Go
10-
uses: actions/setup-go@v2
10+
uses: actions/setup-go@v5
1111
with:
1212
go-version: 1.21.x
1313
- name: Operator tests

.github/workflows/pr_local_integration_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Get uv cache dir
4646
id: uv-cache
4747
run: |
48-
echo "::set-output name=dir::$(uv cache dir)"
48+
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
4949
- name: uv cache
5050
uses: actions/cache@v4
5151
with:

.github/workflows/smoke_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Get uv cache dir
3232
id: uv-cache
3333
run: |
34-
echo "::set-output name=dir::$(uv cache dir)"
34+
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
3535
- name: uv cache
3636
uses: actions/cache@v4
3737
with:

.github/workflows/unit_tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
curl -LsSf https://astral.sh/uv/install.sh | sh
3434
- name: Get uv cache dir
3535
id: uv-cache
36-
run: |
37-
echo "::set-output name=dir::$(uv cache dir)"
36+
run: |
37+
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
3838
- name: uv cache
3939
uses: actions/cache@v4
4040
with:
@@ -52,7 +52,7 @@ jobs:
5252
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5353
steps:
5454
- uses: actions/checkout@v4
55-
- uses: actions/setup-node@v3
55+
- uses: actions/setup-node@v4
5656
with:
5757
node-version-file: './ui/.nvmrc'
5858
registry-url: 'https://registry.npmjs.org'

0 commit comments

Comments
 (0)