Skip to content

Commit

Permalink
gha refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 24, 2022
1 parent d24c28b commit 32023f1
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 81 deletions.
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

11 changes: 0 additions & 11 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: codecov
"on":
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: mvn install -Pjacoco
- uses: codecov/codecov-action@v3
with:
file: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true
31 changes: 31 additions & 0 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
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, 17]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: actions/cache@v3
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/workflows/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@v3
- uses: g4s8/pdd-action@master
15 changes: 15 additions & 0 deletions .github/workflows/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@v3
- uses: g4s8/xcop-action@master
50 changes: 15 additions & 35 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,21 @@
architect:
- yegor256
- dmarkov
install:
- sudo gem install pdd -v 0.20.5
- yegor256
docker:
image: yegor256/rultor-image:1.13.0
assets:
secring.gpg: yegor256/home#assets/secring.gpg
settings.xml: yegor256/home#assets/jcabi/settings.xml
secring.gpg: yegor256/home#assets/secring.gpg
pubring.gpg: yegor256/home#assets/pubring.gpg
s3cfg: yegor256/home#assets/s3cfg
install: |
pdd --file=/dev/null
merge:
script:
- mvn clean install -Pqulice --errors --settings ../settings.xml
- mvn clean
- pdd --source=$(pwd) --verbose --file=/dev/null
commanders:
- carlosmiranda
- darkled
- dmzaytsev
- ggajos
- hdouss
- krzyk
- longtimeago
- mkordas
- pinaf
deploy:
script:
- mvn clean deploy -Pqulice --errors --settings ../settings.xml
- mvn clean
- pdd --source=$(pwd) --verbose --file=jcabi-heroku-maven-plugin.xml
- s3cmd --no-progress put jcabi-heroku-maven-plugin.xml --config=../s3cfg s3:https://pdd.teamed.io/jcabi-heroku-maven-plugin.xml
env:
MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g
script: |
mvn clean install -Pqulice --errors --batch-mode
release:
script:
- mvn versions:set "-DnewVersion=${tag}"
- git commit -am "${tag}"
- mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml
- mvn clean site-deploy -Psite --errors --settings ../settings.xml
commanders:
- yegor256
pre: false
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}" --batch-mode
git commit -am "${tag}"
mvn clean deploy -Pqulice -Psonatype -Pjcabi --batch-mode --errors --settings ../settings.xml
mvn clean site-deploy -Psite --errors --settings ../settings.xml --batch-mode
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit 32023f1

Please sign in to comment.