Skip to content

Commit

Permalink
chore: Move files
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreamatias committed Jul 12, 2022
1 parent 87aaeff commit d3fe0c5
Show file tree
Hide file tree
Showing 127 changed files with 1,578 additions and 691 deletions.
81 changes: 81 additions & 0 deletions .github/workflows/base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Base

on:
push:
branches: [main]
tags:
- '*'

pull_request:
branches: [main]

workflow_dispatch:

jobs:
build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
channel: [stable, beta]

steps:
- uses: actions/checkout@v3

- name: Check broken links
uses: JustinBeckwith/linkinator-action@v1
with:
paths: "**/*.md"

- name: Flutter action
uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.channel }}

- name: Install dependencies
run: flutter pub get
- name: Format code
run: flutter format --dry-run --set-exit-if-changed .
- name: Analyze static code
run: flutter analyze
- name: Run tests
run: flutter test
- name: Check publish warnings
run: dart pub publish --dry-run
- name: Build example
run: |
cd example
flutter build appbundle --debug
flutter build ios --debug --no-codesign
flutter build web
- name: Upload coverage to Codecov
if: ${{ matrix.channel == 'stable' }}
uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info
flags: unittests
name: flutter_form_builder

deployment:
if: ${{ github.ref_type == 'tag' }}
needs: build
name: Deploy package
runs-on: ubuntu-latest

steps:
- name: Configure enviroment
uses: actions/checkout@v3
- name: Download flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Setup pub credentials
shell: bash
env:
PUB_DEV_PUBLISH_ACCESS_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}
PUB_DEV_PUBLISH_REFRESH_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}
run: |
sh ./tool/pub_login.sh
- name: Publish package
run: dart pub publish -v -f
21 changes: 0 additions & 21 deletions .github/workflows/form_builder.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/form_builder_core.yaml

This file was deleted.

102 changes: 65 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,75 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.idea/
**/.idea/
*.old
.buildlog/
.history
.svn/
.fvm/

.packages
.pub/
.dart_tool/
pubspec.lock
flutter_export_environment.sh

Podfile
Podfile.lock
Pods/
.symlinks/
**/Flutter/App.framework/
**/Flutter/ephemeral/
**/Flutter/Flutter.framework/
**/Flutter/Generated.xcconfig
**/Flutter/flutter_assets/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

ServiceDefinitions.json
xcuserdata/
**/DerivedData/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

local.properties
keystore.properties
.gradle/
gradlew
gradlew.bat
gradle-wrapper.jar
# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
*.iml

.packages
.pub-cache/
.pub/
build/
.flutter-plugins

.project
.classpath
.settings
/.fvm
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

.melos_tool/
**/*.env
# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

lcov.info
# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
File renamed without changes.
Loading

0 comments on commit d3fe0c5

Please sign in to comment.