Skip to content

Commit

Permalink
πŸš€ Flutter 3.27 (#40)
Browse files Browse the repository at this point in the history
* πŸ”₯ Remove ignored files

* 🚨 Resolve lints

* πŸ’š Update workflows

* βœ… Fake test

* πŸ”– 4.2.0

* πŸ’š Update example
  • Loading branch information
AlexV525 authored Dec 12, 2024
1 parent 31d5845 commit c868c65
Show file tree
Hide file tree
Showing 143 changed files with 3,955 additions and 1,632 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/checker.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pub_dry_run.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/pub_publish.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pub_publish_manually.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [ published ]
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Publish
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
28 changes: 28 additions & 0 deletions .github/workflows/publishable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publishable

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
paths:
- "**.md"
- "**.yaml"
- "**.yml"

jobs:
publish-dry-run:
name: Publish dry-run with packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: k-paxian/dart-package-publisher@master
with:
credentialJson: 'MockCredentialJson'
flutter: true
dryRunOnly: true
skipTests: true
54 changes: 54 additions & 0 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Runnable (stable)

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
paths-ignore:
- "**.md"

jobs:
analyze:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: flutter pub get
- name: Analyse the repo
run: flutter analyze lib example/lib
- name: Run tests
run: flutter test
- name: Generate docs
run: |
dart pub global activate dartdoc
dart pub global run dartdoc .
test_web_build:
needs: analyze
name: Test build on Web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build web
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.DS_Store
.dart_tool/
.idea/
.vscode/

.packages
.pub/
Expand All @@ -8,4 +10,4 @@ build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
pubspec.lock
pubspec.lock
29 changes: 0 additions & 29 deletions .idea/codeStyles/Project.xml

This file was deleted.

18 changes: 0 additions & 18 deletions .idea/extended_tabs.iml

This file was deleted.

Loading

0 comments on commit c868c65

Please sign in to comment.