FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
.github/.github/workflows/shared-codeql-analysis.yaml at master · SpongePowered/.github · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
SpongePowered
/
.github
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
1
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
.github
/
.github
/
workflows
/
shared-codeql-analysis.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
44 lines (40 loc) · 1.35 KB
Breadcrumbs
.github
/
.github
/
workflows
/
shared-codeql-analysis.yaml
Copy path
File metadata and controls
44 lines (40 loc) · 1.35 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name
:
Run CodeQL
on
:
workflow_call
:
inputs
:
runtime_version
:
description
:
'
The default Java runtime version to run builds on
'
required
:
false
type
:
number
default
:
17
publishing_branch_regex
:
description
:
'
The regular expression to determine if a certain branch build should be published
'
required
:
false
type
:
string
default
:
'
master|main|trunk|(\d+\.(?:\d+\.)?x)
'
#
master or something like 0.8.x or 2.x
extra_gradle_params
:
description
:
'
Extra arguments to pass to all Gradle invocations
'
required
:
false
type
:
string
default
:
'
'
jobs
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
steps
:
-
name
:
setup
id
:
setup
uses
:
SpongePowered/.github/.github/actions/setup-java-env@master
with
:
runtime_version
:
${{ inputs.runtime_version }}
publishing_branch_regex
:
${{ inputs.publishing_branch_regex }}
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@19b2f06db2b6f5108140aeb04014ef02b648f789
#
v4
with
:
languages
:
java
-
name
:
Build with Gradle
run
:
./gradlew ${{ inputs.extra_gradle_params }} assemble
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@19b2f06db2b6f5108140aeb04014ef02b648f789
#
v4
Back
|
FazBrowse Home
|
New Git URL