blob: 6c155125cb81da5d825e4fe747e39bc042f17b2d [file] [edit]
name: package:file_testing
permissions:
contents: read
on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/file_testing.yaml'
- 'pkgs/file/**'
- 'pkgs/file_testing/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/file_testing.yaml'
- 'pkgs/file/**'
- 'pkgs/file_testing/**'
schedule:
- cron: "0 0 * * 0"
defaults:
run:
working-directory: pkgs/file_testing/
jobs:
correctness:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: dev
- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos