fix new clippy lints (#1408) #1001
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 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- staging | |
tags: | |
- "*" | |
pull_request: | |
paths: | |
- "java/**" | |
- .github/workflows/java.yaml | |
jobs: | |
tests-java-1_8: | |
name: Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 7.1.1 | |
- name: Run tests | |
run: make test-java | |
# sonarqube: | |
# name: SonarQube | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# fetch-depth: 0 | |
# - uses: gradle/gradle-build-action@v2 | |
# with: | |
# gradle-version: 7.1.1 | |
# - name: Run tests | |
# run: make test-java | |
# | |
# - name: Run sonarqube | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
# run: (cd java && gradle sonarqube) |