Skip to content

Commit 3ab03f5

Browse files
authored
Merge pull request #155 from shy1st/master
fix: fix the codecov.
2 parents eb94365 + 9ba817c commit 3ab03f5

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/maven-ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: '0'
16+
1317
- name: Set up JDK 1.8
1418
uses: actions/setup-java@v1
1519
with:
@@ -20,15 +24,6 @@ jobs:
2024
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2125
gpg-passphrase: GPG_PASSPHRASE
2226

23-
- name: Set up Codecov
24-
- uses: codecov/codecov-action@v1
25-
with: ${{ secrets.COVERALLS_TOKEN }}
26-
27-
- name: Set up Node.js
28-
uses: actions/setup-node@v1
29-
with:
30-
node-version: 12
31-
3227
- name: Build with Maven
3328
run: mvn clean test cobertura:cobertura
3429

@@ -37,6 +32,11 @@ jobs:
3732
with:
3833
token: ${{ secrets.CODECOV_TOKEN }}
3934

35+
- name: Set up Node.js
36+
uses: actions/setup-node@v1
37+
with:
38+
node-version: 12
39+
4040
- name: Sematic Release
4141
run: |
4242
npm install -g @conveyal/maven-semantic-release semantic-release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jCasbin
22
====
33

44
[![codebeat badge](https://codebeat.co/badges/c17c9ee1-da42-4db3-8047-9574ad2b23b1)](https://codebeat.co/projects/github-com-casbin-jcasbin-master)
5-
[![Coverage Status](https://coveralls.io/repos/github/casbin/jcasbin/badge.svg?branch=master)](https://coveralls.io/github/casbin/jcasbin?branch=master)
5+
[![codecov](https://codecov.io/gh/casbin/jcasbin/branch/master/graph/badge.svg?token=pKOEodQ3q9)](https://codecov.io/gh/casbin/jcasbin)
66
[![Javadocs](https://www.javadoc.io/badge/org.casbin/jcasbin.svg)](https://www.javadoc.io/doc/org.casbin/jcasbin)
77
[![Maven Central](https://img.shields.io/maven-central/v/org.casbin/jcasbin.svg)](https://mvnrepository.com/artifact/org.casbin/jcasbin/latest)
88
[![Release](https://img.shields.io/github/release/casbin/jcasbin.svg)](https://github.com/casbin/jcasbin/releases/latest)

0 commit comments

Comments
 (0)