Update pub_publish.yml #10
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: Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
container: | |
image: dart:latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: dart pub get | |
- name: analyze | |
run: dart analyze |