File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI workflow
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+ jobs :
9+ build :
10+ name : Build
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ - name : Set up JDK 21
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : 21
20+ distribution : ' graalvm'
21+ - name : Cache SonarQube packages
22+ uses : actions/cache@v4
23+ with :
24+ path : ~/.sonar/cache
25+ key : ${{ runner.os }}-sonar
26+ restore-keys : ${{ runner.os }}-sonar
27+ - name : Cache Maven packages
28+ uses : actions/cache@v4
29+ with :
30+ path : ~/.m2
31+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
32+ restore-keys : ${{ runner.os }}-m2
33+ - name : Build
34+ run : mvn clean install
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Full guidelines can be found [bare-minimum-github-repo](https://github.com/fuger
88[ ![ GitHub pages] ( https://img.shields.io/badge/GitHub-PAGES-%233557E0 )] ( https://bareminimumjavamaven.fugerit.org/ )
99[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-teal.svg )] ( https://opensource.org/licenses/MIT )
1010[ ![ code of conduct] ( https://img.shields.io/badge/conduct-Contributor%20Covenant-purple.svg )] ( https://github.com/fugerit-org/fj-universe/blob/main/CODE_OF_CONDUCT.md )
11+ [ ![ CI workflow] ( https://github.com/fugerit79/bare-minimum-github-repo-java-maven/actions/workflows/ci.yml/badge.svg )] ( https://github.com/fugerit79/bare-minimum-github-repo-java-maven/actions/workflows/ci.yml )
1112
1213## Requirements
1314
You can’t perform that action at this time.
0 commit comments