fpdart v2.0.0 #175
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: fpdart CI | |
on: | |
# Run on PRs and pushes to the default branch. | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/fpdart | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1.3 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed ./lib ./test | |
- name: Analyze project source | |
run: dart analyze ./lib ./test | |
- name: Run tests | |
run: dart test |