Bump test from 1.25.0 to 1.25.1 #246
Workflow file for this run
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Dart | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: [main] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1.5.0 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze | |
working-directory: ./lib | |
test: | |
needs: analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1.5.0 | |
- id: install | |
name: Install Dependencies | |
run: dart pub get | |
- name: Run tests | |
run: dart run coverage:test_with_coverage | |
- name: Collect and report coverage | |
uses: coverallsapp/github-action@v1.2.5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
contributors: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Contribute List | |
uses: akhilmhdh/contributors-readme-action@v2.3.6 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |