Skip to content

Commit d74cc05

Browse files
authored
Merge pull request #77 from techy4shri/actions
version changes in action files
2 parents 1d369e6 + 1353aaf commit d74cc05

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

.github/workflows/build-on-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build On Pull Request
22
on:
33
pull_request:
44
branches: [ "develop","master" ]
5-
5+
66
jobs:
77
Build:
88
runs-on: ubuntu-latest
@@ -14,10 +14,10 @@ jobs:
1414
repository: ${{ github.event.pull_request.head.repo.full_name }}
1515

1616
- name: Setup JDK 17
17-
uses: actions/setup-java@v2
17+
uses: actions/setup-java@v4
1818
with:
1919
java-version: 17
20-
distribution: 'adopt'
20+
distribution: 'temurin'
2121

2222
- name: Build with Maven
2323
run: mvn clean install

.github/workflows/package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222

23-
- name: Checkout code
24-
uses: actions/checkout@v2
23+
- name: Checkout code
24+
uses: actions/checkout@v3
2525

2626
- name: Setup JDK 17
27-
uses: actions/setup-java@v2
27+
uses: actions/setup-java@v4
2828
with:
2929
java-version: 17
30-
distribution: 'adopt'
30+
distribution: 'temurin'
3131

3232
- name: Build with Maven
3333
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

.github/workflows/sast.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ jobs:
2727
language: [ 'java' ]
2828

2929
steps:
30-
- name: Checkout code
31-
uses: actions/checkout@v3
32-
with:
33-
ref: ${{ github.event.pull_request.head.ref }}
34-
repository: ${{ github.event.pull_request.head.repo.full_name }}
30+
- name: Checkout code
31+
uses: actions/checkout@v3
32+
with:
33+
ref: ${{ github.event.pull_request.head.ref }}
34+
repository: ${{ github.event.pull_request.head.repo.full_name }}
3535

36-
# Initializes the CodeQL tools for scanning.
37-
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v2
36+
# Initializes the CodeQL tools for scanning.
37+
- name: Initialize CodeQL
38+
uses: github/codeql-action/init@v2
3939

40-
- name: Setup JDK 17
41-
uses: actions/setup-java@v2
42-
with:
43-
java-version: 17
44-
distribution: 'adopt'
45-
46-
- name: Build with Maven
47-
run: mvn clean install
40+
- name: Setup JDK 17
41+
uses: actions/setup-java@v4
42+
with:
43+
java-version: 17
44+
distribution: 'temurin'
45+
46+
- name: Build with Maven
47+
run: mvn clean install
4848

49-
- name: Perform CodeQL Analysis
50-
uses: github/codeql-action/analyze@v2
51-
with:
52-
category: "/language:${{matrix.language}}"
49+
- name: Perform CodeQL Analysis
50+
uses: github/codeql-action/analyze@v2
51+
with:
52+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)