Skip to content

Commit b06c5d5

Browse files
jbamptondhslove
authored andcommitted
Update GitHub Actions (apache#11664)
1 parent 4f013bb commit b06c5d5

File tree

10 files changed

+53
-22
lines changed

10 files changed

+53
-22
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
build:
3131
runs-on: ubuntu-22.04
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434

3535
- name: Set up JDK 17
36-
uses: actions/setup-java@v4
36+
uses: actions/setup-java@v5
3737
with:
3838
distribution: 'temurin'
3939
java-version: '17'
4040
cache: 'maven'
4141

4242
- name: Set up Python
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4444
with:
4545
python-version: '3.8'
4646
architecture: 'x64'

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,19 +216,19 @@ jobs:
216216
smoke/test_list_volumes"]
217217

218218
steps:
219-
- uses: actions/checkout@v4
219+
- uses: actions/checkout@v5
220220
with:
221221
fetch-depth: 0
222222

223223
- name: Set up JDK 17
224-
uses: actions/setup-java@v4
224+
uses: actions/setup-java@v5
225225
with:
226226
distribution: 'temurin'
227227
java-version: '17'
228228
cache: 'maven'
229229

230230
- name: Set up Python
231-
uses: actions/setup-python@v5
231+
uses: actions/setup-python@v6
232232
with:
233233
python-version: '3.10'
234234
architecture: 'x64'

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
name: codecov
3333
runs-on: ubuntu-22.04
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838

39-
- name: Set up JDK11
40-
uses: actions/setup-java@v4
39+
- name: Set up JDK 17
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: 'temurin'
4343
java-version: '11'

.github/workflows/docker-cloudstack-simulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set Docker repository name
4848
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV
4949

50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v5
5151

5252
- name: Set ACS version
5353
run: echo "ACS_VERSION=$(grep '<version>' pom.xml | head -2 | tail -1 | cut -d'>' -f2 |cut -d'<' -f1)" >> $GITHUB_ENV

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-22.04
3333
steps:
3434
- name: Check Out
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
- name: Install
3737
run: |
3838
python -m pip install --upgrade pip

.github/workflows/main-sonar-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
name: Main Sonar JaCoCo Build
3333
runs-on: ubuntu-22.04
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838

39-
- name: Set up JDK11
40-
uses: actions/setup-java@v4
39+
- name: Set up JDK17
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: 'temurin'
4343
java-version: '11'

.github/workflows/rat.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
build:
3131
runs-on: ubuntu-22.04
3232
steps:
33-
- uses: actions/checkout@v4
34-
- name: Set up JDK 11
35-
uses: actions/setup-java@v4
33+
- uses: actions/checkout@v5
34+
- name: Set up JDK 17
35+
uses: actions/setup-java@v5
3636
with:
3737
java-version: '11'
3838
distribution: 'adopt'

.github/workflows/sonar-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
name: Sonar JaCoCo Coverage
3434
runs-on: ubuntu-22.04
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v5
3737
with:
3838
ref: "refs/pull/${{ github.event.number }}/merge"
3939
fetch-depth: 0
4040

41-
- name: Set up JDK11
42-
uses: actions/setup-java@v4
41+
- name: Set up JDK17
42+
uses: actions/setup-java@v5
4343
with:
4444
distribution: 'temurin'
4545
java-version: '11'

.github/workflows/ui.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
runs-on: ubuntu-22.04
3232

3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535

3636
- name: Set up Node
37-
uses: actions/setup-node@v3
37+
uses: actions/setup-node@v5
3838
with:
3939
node-version: 14
4040

plugins/integrations/automation-service/src/main/resources/conf/genie.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,34 @@ runcmd:
3030
- ansible-playbook /root/deploy_automation_controller.yml
3131
# - cp -r /genie/deploy_automation_controller.yml /root/
3232
# - ansible-playbook /root/deploy_automation_controller.yml
33+
name: CodeQL Analysis
34+
on:
35+
push:
36+
branches: [main]
37+
pull_request:
38+
branches: [main]
39+
permissions:
40+
actions: read
41+
contents: read
42+
security-events: write
43+
jobs:
44+
codeql:
45+
name: CodeQL
46+
runs-on: ubuntu-latest
47+
strategy:
48+
fail-fast: false
49+
matrix:
50+
language: ["actions"]
51+
steps:
52+
- name: Checkout repository
53+
uses: actions/checkout@v5
54+
- name: Initialize CodeQL
55+
uses: github/codeql-action/init@v3
56+
with:
57+
languages: ${{ matrix.language }}
58+
- name: Autobuild
59+
uses: github/codeql-action/autobuild@v3
60+
- name: Perform CodeQL Analysis
61+
uses: github/codeql-action/analyze@v3
62+
with:
63+
category: "Security"

0 commit comments

Comments
 (0)