Update dart.yml

This commit is contained in:
Nick Fisher
2024-10-25 11:40:38 +08:00
parent 8947f7c819
commit f2cd165ee0

View File

@@ -27,14 +27,14 @@ jobs:
cache: true # Caches dependencies between runs cache: true # Caches dependencies between runs
architecture: arm64 # Explicitly specify architecture architecture: arm64 # Explicitly specify architecture
- name: Install dependencies - name: Install dependencies
run: flutter pub get run: flutter pub get # even though this is a Dart package, it has as dev_dependency on objective_c for testing which for some reason has a Flutter dependency
# Uncomment this step to verify the use of 'dart format' on each commit. # Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting # - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed . # run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source #- name: Analyze project source
run: dart analyze # run: dart analyze
- name: Run tests - name: Run tests
run: dart --enable-experiment=native-assets test run: dart --enable-experiment=native-assets test