Skip to content

fix: ci.yml

fix: ci.yml #85

Workflow file for this run

name: CI
# workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
# https://github.com/marketplace/actions/workflow-dispatch
on: [ push, pull_request, workflow_dispatch ]
jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: zulu
- name: Cache mvn dependencies
working-directory: log-record-starter
uses: actions/cache@v3

Check failure on line 20 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 20, Col: 9): Unexpected value 'uses' .github/workflows/ci.yml (Line: 23, Col: 9): Unexpected value 'with'
env:
cache-name: mvn-deps
with:
path: ~/.m2
key: ${{ env.cache-name }}-${{ hashFiles('pom.xml') }}
restore-keys: ${{ env.cache-name }}-
- name: Test with Maven
working-directory: log-record-starter
run: mvn -V --no-transfer-progress test
- name: Upload to Codecov
working-directory: log-record-starter
uses: codecov/codecov-action@v3
with:
file: ./target/site/jacoco/jacoco.xml
flags: unittests