mirror of
https://github.com/chenasraf/i18n.git
synced 2026-05-17 17:38:07 +00:00
36 lines
607 B
YAML
36 lines
607 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: dart-lang/setup-dart@v1
|
|
with:
|
|
sdk: stable
|
|
|
|
- name: Print Dart SDK version
|
|
run: dart --version
|
|
|
|
- name: Install dependencies
|
|
run: dart pub get
|
|
|
|
- name: Run code generation
|
|
run: dart run build_runner build --delete-conflicting-outputs
|
|
|
|
- name: Analyze project source
|
|
run: dart analyze
|
|
|
|
- name: Run tests
|
|
run: dart test
|