Git Product home page Git Product logo

preetjdp / update-flutter-packages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tianhaoz95/update-flutter-packages

0.0 1.0 0.0 10.82 MB

Automated Flutter dependency package update with GitHub Actions ;)

Home Page: https://tianhaoz.com/update-flutter-packages

License: MIT License

JavaScript 38.59% Kotlin 1.91% Swift 5.40% Objective-C 0.18% Dart 25.24% HTML 5.23% TypeScript 23.47%

update-flutter-packages's Introduction

Flutter Package Updater

All Contributors

.github/workflows/test-drive.yml Gitpod Ready-to-Code

Background

Dependabot is a great way to automatically keep dependencies up-to-date, but the support for Flutter is still under construction (hopefully).

Solution

For the time being, I put together this action to automate package updating for Flutter projects.

The action scans the default (master) branch and opens pull requests to update all packages defined in pubspec.yml.

The actions requires:

  • subosito/flutter-action@v1
  • actions/setup-java@v1
  • actions/checkout@v1

Example

on:
  schedule:
    - cron: 0 2 * * *
jobs:
  test:
    name: example Flutter package updater
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-java@v1
        with:
          java-version: '12.x'
      - uses: subosito/flutter-action@v1
        with:
          flutter-version: '1.12.13+hotfix.5'
          channel: 'stable'
      - name: run flutter package updater
        uses: tianhaoz95/[email protected]
        with:
          flutter-project: './sample_flutter_app'
          git-email: '[email protected]'
          git-name: 'Tianhao Zhou'
          token: ${{ secrets.TIANHAOZ_GITHUB_TOKEN }}

Happy hacking!

Spend your time on what matters, let automation take care the rest ;)

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Tianhao Zhou

๐Ÿ’ป

Matteo Pietro Dazzi

๐Ÿ’ป

Preet Parekh

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

update-flutter-packages's People

Contributors

allcontributors[bot] avatar ilteoood avatar preetjdp avatar tianhaoz95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.