Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use semantic-pull-request workflow #25

Merged
merged 1 commit into from Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 8 additions & 24 deletions .github/workflows/pub_updater.yaml
@@ -1,33 +1,17 @@
name: pub_updater

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
semantic-pull-request:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1

steps:
- uses: actions/checkout@v2

- uses: dart-lang/setup-dart@v1

- name: Install Dependencies
run: dart pub get

- name: Format
run: dart format --set-exit-if-changed .

- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .

- name: Run Tests
run: |
dart pub global activate test_coverage
export PATH=$PATH:$HOME/.pub-cache/bin
test_coverage

- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1

pana:
runs-on: ubuntu-latest
Expand Down