Skip to content

Commit

Permalink
#3 poc
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed May 25, 2023
1 parent eeec5b3 commit d4d6c46
Show file tree
Hide file tree
Showing 18 changed files with 915 additions and 59 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/codecov.yaml → .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: codecov
on:
push:
branches: [ "master" ]
branches:
- master
pull_request:
branches: [ "master" ]
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
Expand All @@ -20,8 +21,10 @@ jobs:
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: mvn clean install
- run: |
mvn clean install
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true
7 changes: 3 additions & 4 deletions .github/workflows/mvn.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: mvn
on:
push:
Expand All @@ -9,11 +8,11 @@ on:
- master
jobs:
test:
name: Tests
name: Build
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
java: [11, 17]
os: [ubuntu-20.04, windows-2022, macos-12]
java: [17]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pdd.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pdd
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/pdd-action@master
5 changes: 2 additions & 3 deletions .github/workflows/xcop.yaml → .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: xcop
on:
push:
Expand All @@ -8,8 +7,8 @@ on:
branches:
- master
jobs:
xcop:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- uses: g4s8/xcop-action@master
61 changes: 32 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# for IntelliJidea users
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.params
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea

**/.DS_Store

target
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
4 changes: 0 additions & 4 deletions .pdd

This file was deleted.

13 changes: 11 additions & 2 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
architect:
- # your GitHub nickname
- h1alexbel
docker:
image: l3r8y/rultor-image:1.0.3
assets:
settings.xml: eo-cqrs/eo-cqrs-secrets#assets/settings.xml
secring.gpg: eo-cqrs/eo-cqrs-secrets#assets/secring.gpg
pubring.gpg: eo-cqrs/eo-cqrs-secrets#assets/pubring.gpg
merge:
script:
- "mvn clean install --errors --batch-mode"
release:
pre: false
sensetive:
- settings.xml
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
# add your release pipeline
mvn clean deploy -Prelease --errors --settings ../settings.xml
4 changes: 2 additions & 2 deletions LICENSE → LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Ivan Ivanchuk
Copyright (c) 2023 Aliaksei Bialiauski, EO-CQRS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -14,7 +14,7 @@ copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Expand Down
29 changes: 29 additions & 0 deletions checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!--
MIT License
Copyright (c) 2023 Aliaksei Bialiauski, EO-CQRS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD SuppressionFilter Configuration 1.0//EN" "https://checkstyle.org/dtds/suppressions_1_0.dtd">
<suppressions>
<suppress checks="LineLength" files=".*\.java$" lines="0-23"/>
<suppress checks="HiddenField" files=".*\.java$" lines="23-9999"/>
</suppressions>
Loading

0 comments on commit d4d6c46

Please sign in to comment.