Skip to content

[#460] [BP] Linux AppImage #79

[#460] [BP] Linux AppImage

[#460] [BP] Linux AppImage #79

name: Generate Reports
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: flutter pub get
- run: sudo apt-get install -y graphviz
- name: Check dependencies
run: |
dart run grinder generate-class-graph --diff --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }}
dart run grinder create-class-graph-from-dot --file=coverage/dependencies.dot
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: dependencies.svg
path: coverage/dependencies.svg
if-no-files-found: error