add missing release metadata #69
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: Verify and test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Tags are required for Flutter to know its own version and check constraints | |
- run: git -C ./flutter fetch --tags | |
- run: ./flutter/bin/flutter config --no-analytics | |
- name: Install dependencies | |
run: ./flutter/bin/flutter pub get | |
- name: Verify formatting | |
run: ./flutter/bin/dart format --output=none --set-exit-if-changed ./lib | |
- name: Analyze project source | |
run: ./flutter/bin/flutter analyze ./lib | |
- name: Run tests | |
run: ./flutter/bin/flutter test -v |