Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/flutter/ai into copy-from-c…
Browse files Browse the repository at this point in the history
…sells
  • Loading branch information
csells committed Dec 3, 2024
2 parents 02f9f30 + 9046967 commit 7e2a16c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
enable-beta-ecosystems: true
updates:
# Github actions ecosystem.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
# Pub ecosystem.
- package-ecosystem: "pub"
versioning-strategy: "increase-if-necessary"
directory: "/"
schedule:
interval: "daily"
29 changes: 29 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Flutter CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint-and-test:
name: Static code analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- name: Lint analysis
run: dart analyze --fatal-infos
- name: Dart format
run: dart format --output none --set-exit-if-changed .
- name: dart fix
run: dart fix --dry-run
- name: Run tests
run: flutter test

0 comments on commit 7e2a16c

Please sign in to comment.