Updated changelog for 3.3.0 #24
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: Pipeline | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ env.PUB_CACHE }} | |
key: ${{ runner.os }}-dart-cache-stable | |
restore-keys: | | |
${{ runner.OS }}-dart-cache- | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze --fatal-infos | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
sdk: [stable, beta, dev] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: ${{ matrix.sdk }} | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ env.PUB_CACHE }} | |
key: ${{ runner.os }}-dart-cache-${{ matrix.sdk }} | |
restore-keys: | | |
${{ runner.OS }}-dart-cache- | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run tests | |
run: dart test |