Skip to content

Remove dependency from path provider #35

Remove dependency from path provider

Remove dependency from path provider #35

Workflow file for this run

name: Dart CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
dart_version: "3.4.2"
java_version: "12.x"
jobs:
dart_test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ env.dart_version }}
- name: Cache Dart dependencies
uses: actions/cache@v3
with:
path: ~/.pub-cache
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-dart-
- name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze code
run: dart analyze --fatal-infos
- name: Run tests
run: dart test