Skip to content

Commit

Permalink
Set up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Jan 10, 2024
1 parent aac2884 commit 5397239
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 216 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
permissions:
id-token: write # Required for authentication
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
# Specify the github actions deployment environment
environment: pub.dev
28 changes: 28 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI Tests

on: pull_requests
jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Flutter SDK
uses: subosito/flutter-action@v2
with:
channel: stable
version: 3.3.7

- name: Get dependencies
run: flutter pub get

- name: Verify Formatting
run: dart format --output=none --set-exit-if-changed .

- name: Analyze Project Source
run: dart analyze



This file was deleted.

2 changes: 0 additions & 2 deletions android/local.properties

This file was deleted.

14 changes: 0 additions & 14 deletions ios/Flutter/Generated.xcconfig

This file was deleted.

13 changes: 0 additions & 13 deletions ios/Flutter/flutter_export_environment.sh

This file was deleted.

19 changes: 0 additions & 19 deletions ios/Runner/GeneratedPluginRegistrant.h

This file was deleted.

14 changes: 0 additions & 14 deletions ios/Runner/GeneratedPluginRegistrant.m

This file was deleted.

11 changes: 0 additions & 11 deletions linux/flutter/generated_plugin_registrant.cc

This file was deleted.

15 changes: 0 additions & 15 deletions linux/flutter/generated_plugin_registrant.h

This file was deleted.

23 changes: 0 additions & 23 deletions linux/flutter/generated_plugins.cmake

This file was deleted.

10 changes: 0 additions & 10 deletions macos/Flutter/GeneratedPluginRegistrant.swift

This file was deleted.

11 changes: 0 additions & 11 deletions macos/Flutter/ephemeral/Flutter-Generated.xcconfig

This file was deleted.

12 changes: 0 additions & 12 deletions macos/Flutter/ephemeral/flutter_export_environment.sh

This file was deleted.

11 changes: 0 additions & 11 deletions windows/flutter/generated_plugin_registrant.cc

This file was deleted.

15 changes: 0 additions & 15 deletions windows/flutter/generated_plugin_registrant.h

This file was deleted.

23 changes: 0 additions & 23 deletions windows/flutter/generated_plugins.cmake

This file was deleted.

0 comments on commit 5397239

Please sign in to comment.