Skip to content

FEDX-698 Finish GHA migration #54

FEDX-698 Finish GHA migration

FEDX-698 Finish GHA migration #54

Workflow file for this run

name: Dart CI
on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '**'
permissions:
pull-requests: write
contents: write
id-token: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
sdk: [ stable, beta, dev ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Check 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
with:
path: ./
format: cyclonedx-json