From 9900645236e3f967f6742fa66408ecab3d4a61fd Mon Sep 17 00:00:00 2001 From: Thomas Klein Langenhorst Date: Fri, 31 Mar 2023 13:22:07 +0200 Subject: [PATCH] Improved README, add dependabot and Github Actions --- .github/dependabot.yaml | 10 ++++++ .github/workflows/flutter.yml | 32 ++++++++++++++++++ README.md | 5 ++- ...ckerGifNew.gif => flutter_media_picker.gif | Bin 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yaml create mode 100644 .github/workflows/flutter.yml rename MediaPickerGifNew.gif => flutter_media_picker.gif (100%) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..33826d0 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "pub" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml new file mode 100644 index 0000000..dc6b270 --- /dev/null +++ b/.github/workflows/flutter.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: + - master + - feature/* + - bugfix/* + - hotfix/* + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.gradle/wrapper + /opt/hostedtoolcache/flutter + key: ${{ runner.OS }}-flutter-install-cache + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + - name: Flutter pub get + run: flutter pub get + - name: Flutter format + run: flutter format -o none --set-exit-if-changed . + - name: Flutter analyze + run: flutter analyze \ No newline at end of file diff --git a/README.md b/README.md index d95101d..42428cc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ [![style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart) -Flutter package which adds a dialog to pick various types of media +# Flutter Media Picker +Flutter package which adds a dialog to pick various types of media. + +![Media Picker GIF](flutter_media_picker.gif) ## Setup diff --git a/MediaPickerGifNew.gif b/flutter_media_picker.gif similarity index 100% rename from MediaPickerGifNew.gif rename to flutter_media_picker.gif