chore(deps): update codecov/codecov-action action to v5 #66
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@v4 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1.6.5 | |
with: | |
sdk: stable | |
- name: Print Dart version | |
run: dart --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run example | |
run: | | |
dart run lib/cancellation_token_hoc081098_example.dart |