name: lint on: push: branches: [main] pull_request: branches: [main] jobs: build: runs-on: ubuntu-latest container: image: google/dart:latest steps: - uses: actions/checkout@v2 - run: dartfmt --dry-run --set-exit-if-changed lib/*.dart lib/models/*.dart lib/scaffolds/*.dart lib/screens/*.dart lib/utils/*.dart lib/widgets/*.dart