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

Commit

Permalink
github action upgrades and junit
Browse files Browse the repository at this point in the history
  • Loading branch information
slichlyter12 committed Oct 1, 2021
1 parent 9b320c6 commit 5c6a522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v2.3.1
with:
java-version: 8
- name: Grant execute permission for gradlew
Expand All @@ -29,15 +29,15 @@ jobs:
- name: Test with Gradle
run: ./gradlew check
- name: Upload coverage report to CodeCov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./build/reports/cobertura/coverage.xml # optional
fail_ci_if_error: true # optional (default = false)
verbose: true
- name: Slack notification when master build fails
if: ${{ failure() && github.ref == 'refs/heads/master'}}
uses: rtCamp/action-slack-notify@v2.1.2
uses: rtCamp/action-slack-notify@v2.2.0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cerberus-alerts
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {
compile 'com.nike:cerberus-client:v7.4.6'

// Test dependencies
testCompile "org.junit.jupiter:junit-jupiter:5.7.0"
testCompile "org.junit.jupiter:junit-jupiter:5.8.1"
testCompile ("org.mockito:mockito-core:3.12.4") {
exclude group: 'org.hamcrest'
}
Expand Down

0 comments on commit 5c6a522

Please sign in to comment.