Skip to content

Commit 038bfac

Browse files
authored
ci(GHA): Resolve deprecation warnings [CICD-1078] (#897)
1 parent 7e0f319 commit 038bfac

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
with:
1818
# We must fetch at least the immediate parents so that if this is
1919
# a pull request then we can checkout the head.
@@ -26,15 +26,15 @@ jobs:
2626

2727
# Initializes the CodeQL tools for scanning.
2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v1
29+
uses: github/codeql-action/init@v2
3030
# Override language selection by uncommenting this and choosing your languages
3131
# with:
3232
# languages: go, javascript, csharp, python, cpp, java
3333

3434
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3535
# If this step fails, then you should remove it and run the build manually (see below)
3636
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v1
37+
uses: github/codeql-action/autobuild@v2
3838

3939
# ℹ️ Command-line programs to run using the OS shell.
4040
# 📚 https://git.io/JvXDl
@@ -48,4 +48,4 @@ jobs:
4848
# make release
4949

5050
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v1
51+
uses: github/codeql-action/analyze@v2

.github/workflows/integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@ jobs:
303303
run: yarn build
304304

305305
- name: Set up QEMU
306-
uses: docker/setup-qemu-action@v1
306+
uses: docker/setup-qemu-action@v2
307307

308308
- name: Set up Docker Buildx
309-
uses: docker/setup-buildx-action@v1
309+
uses: docker/setup-buildx-action@v2
310310

311311
- name: Login to DockerHub
312-
uses: docker/login-action@v1
312+
uses: docker/login-action@v2
313313
with:
314314
username: ${{ secrets.DOCKERHUB_USERNAME }}
315315
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -318,15 +318,15 @@ jobs:
318318
id: image-tag
319319
run: |
320320
tag=${{ (github.ref_name == 'master' && 'latest') || github.ref_name }}
321-
echo "::set-output name=tag::$tag"
321+
echo "TAG_NAME=$tag" >> $GITHUB_ENV
322322
323323
- name: Build and push
324-
uses: docker/build-push-action@v2
324+
uses: docker/build-push-action@v4
325325
with:
326326
context: .
327327
push: true
328328
tags: |
329-
${{ env.IMAGE_NAME }}:${{ steps.image-tag.outputs.tag }}
329+
${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
330330
build-args: |
331331
GIT_COMMIT=${{ github.sha }}
332332
GIT_COMMIT=${{ github.ref_name }}

.github/workflows/wss.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ env:
1111
jobs:
1212
curl:
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 20
14+
timeout-minutes: 10
1515
steps:
1616
- name: Set output
1717
id: vars
18-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
18+
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
1919
- name: Call Jenkins Job
2020
env:
2121
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
22-
run: curl --location --request POST 'https://${{ secrets.JENKINS_USERNAME }}:${{ secrets.JENKINS_TOKEN }}@jenkins.learningpool.com/view/WSS/job/WSS-Scan/buildWithParameters?reponame=${{ env.PARAM_REPO }}&service=${{ env.PARAM_SERVICE }}&tagname=${{ env.RELEASE_VERSION }}'
22+
run: curl --location --request POST 'https://${{ secrets.JENKINS_USERNAME }}:${{ secrets.JENKINS_TOKEN }}@jenkins.learningpool.com/view/WSS/job/WSS-Scan/buildWithParameters?reponame=${{ env.PARAM_REPO }}&service=${{ env.PARAM_SERVICE }}&tagname=${{ env.RELEASE_VERSION }}'

0 commit comments

Comments
 (0)