Skip to content

feat: add build workflow #1

feat: add build workflow

feat: add build workflow #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Dart SDK
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Build library
run: dart compile exe bin/main.dart
- name: Build example app
run: dart compile exe example/main.dart