Bump version to 2.1.0 #42
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: Dart CI | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'test_consume_*' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sdk: [ 2.18.7, 2.19.6, stable ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Install dependencies | |
run: dart pub get | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
if: ${{ matrix.sdk == 'stable' }} | |
- name: Analyze project source | |
run: dart analyze | |
- name: Run tests | |
run: dart test | |
- uses: anchore/sbom-action@v0 | |
if: ${{ matrix.sdk == '2.19.6' }} | |
with: | |
path: ./ | |
format: cyclonedx-json |