Skip to content

PAINTROID-679 Implement JSON Serialization via Code Generation #301

PAINTROID-679 Implement JSON Serialization via Code Generation

PAINTROID-679 Implement JSON Serialization via Code Generation #301

Workflow file for this run

name: Build, Test and Analyze
on: [push, pull_request]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: subosito/[email protected]
with:
flutter-version: "3.10.5"
channel: "stable"
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
architecture: x64 # optional, x64 or arm64
- name: Setup
run: |
make get
- name: Static Analysis
run: make lint
- name: Unit Tests
run: melos run test:unit
- name: Widget Tests
run: melos run test:widget
- name: Build release package
run: flutter build apk --release
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: apk
path: |
build/app/outputs/flutter-apk/app-release.apk