-
-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1083 from flutter-form-builder-ecosystem/reorgani…
…ze-repository chore: Move files
- Loading branch information
Showing
127 changed files
with
1,578 additions
and
691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.