Skip to content

Switch to Gradle platform dependency management #86

Switch to Gradle platform dependency management

Switch to Gradle platform dependency management #86

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