New and improved link command #154
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: Static Analysis | |
on: | |
push: | |
pull_request: | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install FVM | |
run: | | |
brew tap leoafarias/fvm | |
brew install fvm | |
echo "$HOME/fvm/default/bin" >> $GITHUB_PATH | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
fvm install stable | |
fvm global stable | |
- name: Pub get | |
run: dart pub get | |
- name: Format | |
run: dart format . --set-exit-if-changed | |
- name: Analyze | |
run: dart analyze | |
- name: Test | |
run: dart test | |
- name: Pana | |
run: | | |
dart pub global activate pana | |
pana --no-warning --exit-code-threshold 0 |