chore: bump version #64
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: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
push: | |
branches: | |
- master | |
- releases/* | |
paths-ignore: | |
- "**.md" | |
jobs: | |
test: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
# Caching for Unix-like OPs | |
- uses: actions/cache@v3 | |
if: ${{ !startsWith(matrix.operating-system, 'windows') }} | |
with: | |
path: "~/.pub-cache" | |
key: ${{ runner.os }}-${{ hashFiles('pubspec.yaml') }} | |
# Caching on Windows. | |
- uses: actions/cache@v3 | |
if: ${{ startsWith(matrix.operating-system, 'windows') }} | |
with: | |
path: '%LOCALAPPDATA%\Pub\Cache' | |
key: ${{ runner.os }}-${{ hashFiles('pubspec.yaml') }} | |
- name: Setup Dart VM | |
uses: dart-lang/setup-dart@v1 | |
- run: dart pub get | |
- run: dart format --output=none --set-exit-if-changed . | |
- run: dart analyze | |
- run: dart test |