Skip to content

FEDX-534 : Migrate contextual_message to GHA #24

FEDX-534 : Migrate contextual_message to GHA

FEDX-534 : Migrate contextual_message to GHA #24

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
- _integration/**/*
- test_consume_workiva/**
tags:
- '**'
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Validate code
run: dart run dependency_validator
- name: Check format
run: dart run dart_dev format --check
- name: Analyze code
run: dart analyze
- name: Build generated files
run: dart run build_runner build --delete-conflicting-outputs
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: dart run dart_dev test