FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java/.github/workflows/build.yml at master · TheAlgorithms/Java · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
TheAlgorithms
/
Java
Public
Notifications
You must be signed in to change notification settings
Fork
21.3k
Star
66.2k
Code
Issues
4
Pull requests
9
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Java
/
.github
/
workflows
/
build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
40 lines (38 loc) · 1.18 KB
Breadcrumbs
Java
/
.github
/
workflows
/
build.yml
Copy path
File metadata and controls
40 lines (38 loc) · 1.18 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
name
:
Build
on
:
[push, pull_request]
permissions
:
contents
:
read
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v7
-
name
:
Set up JDK
uses
:
actions/setup-java@v5.7.0
with
:
java-version
:
21
distribution
:
'
temurin
'
-
name
:
Build with Maven
run
:
mvn --batch-mode --update-snapshots verify
-
name
:
Upload coverage to codecov (tokenless)
if
:
>-
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository
uses
:
codecov/codecov-action@v7
with
:
fail_ci_if_error
:
true
-
name
:
Upload coverage to codecov (with token)
if
:
>
github.repository == 'TheAlgorithms/Java' &&
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
uses
:
codecov/codecov-action@v7
with
:
token
:
${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error
:
true
-
name
:
Checkstyle
run
:
mvn checkstyle:check
-
name
:
SpotBugs
run
:
mvn spotbugs:check
-
name
:
PMD
run
:
mvn pmd:check
Back
|
FazBrowse Home
|
New Git URL