Update codecov/codecov-action action to v5 #36
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: Run example | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
pull_request: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
workflow_dispatch: | |
jobs: | |
run-example: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./example | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Dart | |
uses: dart-lang/[email protected] | |
with: | |
sdk: stable | |
- name: Print Dart version | |
run: dart --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run lib/disposebag_example.dart | |
run: dart run lib/disposebag_example.dart |