chore: use pkg:equatable
#83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: ⚙️ Build | |
strategy: | |
matrix: | |
sdk: [stable, dev] | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: 🎯 Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: 📦 Install Dependencies | |
run: dart pub get | |
- name: 🔍 Analyze | |
run: dart --enable-experiment=macros analyze --fatal-warnings lib | |
- name: 🧪 Test | |
# TODO(felangel): move to dart test when macro support is stable | |
run: dart --enable-experiment=macros run test/src/main.dart |