Skip to content

Commit

Permalink
ci: added new build check
Browse files Browse the repository at this point in the history
  • Loading branch information
timcreatedit committed Apr 15, 2024
1 parent c9186fd commit f06865e
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- main
pull_request:
push:
branches:
- main

Expand Down Expand Up @@ -50,3 +48,25 @@ jobs:
lower_threshold: 50
upper_threshold: 90
generate_badges: pr

check_generation:
name: Check Code Generation
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: 📚 Checkout
uses: actions/checkout@v4

- name: 🎯 Setup Dart
uses: dart-lang/[email protected]
with:
sdk: 'stable'

- name: Ⓜ️ Set up Melos
uses: bluefireteam/melos-action@v3

- name: 🔨 Generate
run: melos run generate

- name: 🔎 Check there are no uncommitted changes
run: git diff --exit-code

0 comments on commit f06865e

Please sign in to comment.