Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use workiva_analysis_options, address lints, and update CI #193

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches:
- 'master'
- 'test_consume_*'
tags:
- '**'
pull_request:
branches:
- '**'

jobs:
dart:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.19.6, stable ]
name: Dart ${{ matrix.sdk }}
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Validate dependencies
run: dart run dependency_validator
- name: Analysis
run: dart analyze
- name: Formatting
run: dart format --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
- name: Tests
run: dart run dart_dev test
- name: Tests (dart2js)
run: dart run dart_dev test --release
- name: SBOM
if: ${{ matrix.sdk == 'stable' }}
uses: anchore/sbom-action@v0
with:
path: ./
format: cyclonedx-json
56 changes: 0 additions & 56 deletions .github/workflows/dart_ci.yml

This file was deleted.

Loading
Loading