File tree Expand file tree Collapse file tree 4 files changed +84
-4
lines changed Expand file tree Collapse file tree 4 files changed +84
-4
lines changed Original file line number Diff line number Diff line change
1
+ # name: publish
2
+ # on:
3
+ # release:
4
+ # types: [published]
5
+ # jobs:
6
+ # publish-to-sonatype:
7
+ # name: Publish Maven distribution 📦 to Sonatype
8
+ # runs-on: ubuntu-latest
9
+ # permissions:
10
+ # id-token: write
11
+ # steps:
12
+ # - uses: actions/checkout@v4
13
+ # - name: Set up JDK
14
+ # uses: actions/setup-java@v4
15
+ # with:
16
+ # distribution: temurin
17
+ # java-version: '17'
18
+ # - name: Publish
19
+ # env:
20
+ # ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
21
+ # ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
22
+ # ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USER }}
23
+ # ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
24
+ # run: make publish
Original file line number Diff line number Diff line change
1
+ name : tag
2
+ on :
3
+ workflow_run :
4
+ workflows :
5
+ - test
6
+ branches :
7
+ - main
8
+ - dev
9
+ types :
10
+ - completed
11
+ jobs :
12
+ tag :
13
+ name : Tag the repository
14
+ runs-on : ubuntu-latest
15
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16
+ permissions :
17
+ contents : write
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : ' 0'
22
+ - name : Bump version and push tag
23
+ uses : anothrNick/github-tag-action@v1
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ WITH_V : true
27
+ PRERELEASE_SUFFIX : dev
28
+ PRERELEASE : ${{ github.ref_name != 'main' }}
Original file line number Diff line number Diff line change
1
+ name : test
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ - dev
7
+ pull_request :
8
+ jobs :
9
+ test :
10
+ name : Run tests
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ java-version : [ "17" ]
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Set up JDK ${{ matrix.java-version }}
18
+ uses : actions/setup-java@v4
19
+ with :
20
+ distribution : temurin
21
+ java-version : ${{ matrix.java-version }}
22
+ - name : Unit testing
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
26
+ run : make unit-test-publish-report
27
+ - name : Static Analysis
28
+ run : make static-analysis
29
+ # - name: Security Analysis
30
+ # env:
31
+ # NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
32
+ # run: make security-analysis
Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ unit-test:
23
23
unit-test-publish-report :
24
24
@./gradlew clean unitTest coveralls
25
25
26
- .PHONY : integration-test # Runs integration tests
27
- integration-test :
28
- @./gradlew clean integrationTest
29
-
30
26
.PHONY : build # Builds artifacts
31
27
build :
32
28
@./gradlew clean build
You can’t perform that action at this time.
0 commit comments