chore: v0.0.0-dev.12 #71
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 | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: 🎯 Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: dev | |
- 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 |