Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
github actions refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 24, 2022
1 parent 3a4cedd commit 64c1aeb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
---
name: codecov
"on":
on:
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: mvn install -Pjacoco
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
file: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true
13 changes: 7 additions & 6 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
---
name: mvn
"on":
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
maven-build:
mvn:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2022, macos-12]
java: [11, 13]
java: [11, 17]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: pdd
"on":
on:
push:
branches:
- master
Expand All @@ -11,5 +11,5 @@ jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: g4s8/pdd-action@master
4 changes: 2 additions & 2 deletions .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: xcop
"on":
on:
push:
branches:
- master
Expand All @@ -11,5 +11,5 @@ jobs:
xcop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: g4s8/xcop-action@master

0 comments on commit 64c1aeb

Please sign in to comment.