Switch to Gradle platform dependency management #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/[email protected] | |
with: | |
java-version: 1.8 | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: CodeCov | |
uses: codecov/[email protected] | |
with: | |
token: ${{secrets.CODECOV_UPLOAD_TOKEN}} | |
- name: Upload to CoPilot | |
if: github.event_name == 'push' || github.event_name == 'pull_request' | |
run: bash <(curl -s https://copilot.blackducksoftware.com/ci/githubactions/scripts/upload) | |
validation: | |
name: "Validate Gradle Wrapper" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/wrapper-validation-action@v1 | |