Skip to content

Commit 47a1949

Browse files
smyrickShane Myrick
andauthored
Update codecov action to latest config (#795)
The latest action config not longer requires a token for public repositories. This means we can delete the secret if this action works. I also made the formatting of other actions the same in newlines and spacing Co-authored-by: Shane Myrick <[email protected]>
1 parent 52a05b0 commit 47a1949

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,33 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v2
22-
- uses: gradle/wrapper-validation-action@v1
22+
23+
- name: Validate Gradle wrapper
24+
uses: gradle/wrapper-validation-action@v1
25+
2326
- name: Set up Java ${{ matrix.java }}
2427
uses: actions/setup-java@v1
2528
with:
2629
java-version: ${{ matrix.java }}
30+
2731
- name: Set up Gradle cache
2832
uses: actions/cache@v1
2933
with:
3034
path: ~/.gradle/caches
3135
key: ${{ runner.os }}-${{ matrix.java }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
3236
restore-keys: |
3337
${{ runner.os }}-${{ matrix.java }}-gradle-
34-
- name: Build library with Gradle
38+
39+
- name: Build libraries with Gradle
3540
run: ./gradlew clean build
41+
3642
- name: Build examples with Gradle
3743
working-directory: examples
3844
run: ./gradlew clean build
45+
3946
- name: Upload coverage to Codecov
4047
if: matrix.java == 8
4148
uses: codecov/codecov-action@v1
42-
with:
43-
token: ${{ secrets.CODECOV_TOKEN }}
44-
file: ./codecov.yml
4549

4650
release-notes:
4751
runs-on: ubuntu-latest

.github/workflows/pr-check.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- master
7+
- '*.x.x'
78
paths-ignore:
89
- 'docs/**'
910
- 'website/**'
@@ -18,28 +19,35 @@ jobs:
1819

1920
steps:
2021
- uses: actions/checkout@v2
21-
- uses: gradle/wrapper-validation-action@v1
22+
23+
- name: Validate Gradle wrapper
24+
uses: gradle/wrapper-validation-action@v1
25+
2226
- name: Set up Java ${{ matrix.java }}
2327
uses: actions/setup-java@v1
2428
with:
2529
java-version: ${{ matrix.java }}
30+
2631
- name: Set up Gradle cache
2732
uses: actions/cache@v1
2833
with:
2934
path: ~/.gradle/caches
3035
key: ${{ runner.os }}-${{ matrix.java }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
3136
restore-keys: |
3237
${{ runner.os }}-${{ matrix.java }}-gradle-
33-
# used by maven-plugin integration tests
38+
39+
# Used by maven-plugin integration tests
3440
- name: Set up Maven cache
3541
uses: actions/cache@v1
3642
with:
3743
path: ~/.m2/repository
3844
key: ${{ runner.os }}-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
3945
restore-keys: |
4046
${{ runner.os }}-${{ matrix.java }}-maven-
47+
4148
- name: Build library with Gradle
4249
run: ./gradlew clean build
50+
4351
- name: Build examples with Gradle
4452
working-directory: examples
4553
run: ./gradlew clean build

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13+
1314
- uses: gradle/wrapper-validation-action@v1
1415

1516
- name: Set up Java 1.8

0 commit comments

Comments
 (0)