Skip to content

Merge pull request #127 from truthencode/qodana-automation-1196641012 #385

Merge pull request #127 from truthencode/qodana-automation-1196641012

Merge pull request #127 from truthencode/qodana-automation-1196641012 #385

Workflow file for this run

name: Run Gradle on PRs
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: build --scan
- name: Run test and Coverage
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: reportScoverage aggregateAllTestReports
uses: codecov/codecov-action@v2

Check failure on line 32 in .github/workflows/gradle.yml

View workflow run for this annotation

GitHub Actions / Run Gradle on PRs

Invalid workflow file

The workflow is not valid. .github/workflows/gradle.yml (Line: 32, Col: 7): 'uses' is already defined .github/workflows/gradle.yml (Line: 33, Col: 7): 'with' is already defined
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
name: codecov-umbrella # optional
verbose: true # optional (default = false)