Added badges, added Github Actions

This commit is contained in:
Thomas Klein Langenhorst 2022-11-23 11:22:46 +01:00
parent f4d255c2c6
commit 597cf70b54
2 changed files with 33 additions and 0 deletions

32
.github/workflows/flutter.yml vendored Normal file
View file

@ -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

View file

@ -1,3 +1,4 @@
[![pub package](https://img.shields.io/pub/v/flutter_date_time_picker.svg)](https://github.com/Iconica-Development) [![Build status](https://img.shields.io/github/workflow/status/Iconica-Development/flutter_date_time_picker/CI)](https://github.com/Iconica-Development/flutter_date_time_picker/actions/new) [![style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart)
# DateTime Picker # DateTime Picker
Fluter DateTime Picker is a package you can use to implement an Calandar to pick dates and ust them in your Flutter app. Fluter DateTime Picker is a package you can use to implement an Calandar to pick dates and ust them in your Flutter app.