Skip to content

GitHub actions

GitHub actions #103

Workflow file for this run

name: format
on:
- push
- pull_request
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Run format
run: dart format --set-exit-if-changed
import_sorter:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Run import_sorter
run: |
dart pub get
dart run import_sorter:main --exit-if-changed