Skip to content

Add code metrics pipeline #4

Add code metrics pipeline

Add code metrics pipeline #4

name: Dart_Code_Metrics
on:
pull_request:
branches: [main]
jobs:
check:
name: dart-code-metrics-action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: dart-code-metrics
working-directory: ./workout_timer
uses: dart-code-checker/dart-code-metrics-action@v3

Check failure on line 18 in .github/workflows/dartcodemetrics.yaml

View workflow run for this annotation

GitHub Actions / Dart_Code_Metrics

Invalid workflow file

The workflow is not valid. .github/workflows/dartcodemetrics.yaml (Line: 18, Col: 9): Unexpected value 'uses' .github/workflows/dartcodemetrics.yaml (Line: 19, Col: 9): Unexpected value 'with'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}