Skip to content

Commit

Permalink
Merge pull request #5751 from pentaho/DEVO-11106
Browse files Browse the repository at this point in the history
[DEVO-11106] - Fix the CodeQL GHA build for pentaho-platform
  • Loading branch information
cardosov authored Oct 28, 2024
2 parents 56b0c29 + 358c392 commit e3999e5
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ name: "CodeQL"
on:
push:
branches: [ master ]
paths-ignore:
- '.github/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
paths-ignore:
- '.github/**'
schedule:
- cron: '23 19 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: k8s

strategy:
fail-fast: false
Expand All @@ -35,17 +39,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Java JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +60,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -70,4 +74,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

0 comments on commit e3999e5

Please sign in to comment.