Skip to content

Commit

Permalink
#62 clean
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 5, 2022
1 parent 4ff9cc7 commit 763613c
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 14 deletions.
25 changes: 25 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: codecov
"on":
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: mvn install -Pjacoco
- uses: codecov/codecov-action@v1
with:
file: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true
30 changes: 30 additions & 0 deletions .github/mvn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: mvn
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
maven-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2022, macos-12]
java: [11, 13]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: java -version
- run: mvn -version
- run: mvn --errors --batch-mode clean install -Pqulice
15 changes: 15 additions & 0 deletions .github/pdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: pdd
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: g4s8/pdd-action@master
15 changes: 15 additions & 0 deletions .github/xcop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: xcop
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
xcop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: g4s8/xcop-action@master
30 changes: 16 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<parent>
<groupId>com.jcabi</groupId>
<artifactId>jcabi</artifactId>
<version>1.24</version>
<version>1.33.0</version>
</parent>
<artifactId>jcabi-s3</artifactId>
<version>1.0-SNAPSHOT</version>
Expand Down Expand Up @@ -70,6 +70,11 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<artifactId>jcabi-log</artifactId>
<version>0.21.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down Expand Up @@ -115,13 +120,13 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>2.0.0-alpha7</version>
<version>2.0.0-alpha5</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -142,19 +147,14 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<version>2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down Expand Up @@ -183,9 +183,11 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.13</version>
<configuration>
<excludes combine.children="append">
<exclude>findbugs:.*</exclude>
<exclude>duplicatefinder:.*</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit 763613c

Please sign in to comment.