1.0.0
Some checks failed
Code Coverage / upload (push) Has been cancelled
Gh-Pages / build (push) Has been cancelled
Code Verification / verify (push) Has been cancelled

This commit is contained in:
zypherift
2025-08-09 18:17:34 +02:00
commit c7e3f36b06
438 changed files with 79192 additions and 0 deletions

24
.github/workflows/codecov.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Code Coverage
on: [ push, pull_request ]
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Get packages
run: flutter pub get
- name: Generate coverage file
run: flutter test --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
files: ./coverage/lcov.info
flags: flutter

32
.github/workflows/gh-pages.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Gh-Pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Set fl_chart Version
run: |
VERSION=$(grep "version:" pubspec.yaml | awk '{ print $2 }')
echo "USING_FL_CHART_VERSION=$VERSION" >> $GITHUB_ENV
- run: flutter config --enable-web
working-directory: example
- run: flutter build web --release --wasm --base-href=/ --dart-define="USING_FL_CHART_VERSION=${{ env.USING_FL_CHART_VERSION }}"
working-directory: example
- run: git config user.name github-actions
working-directory: example
- run: git config user.email github-actions@github.com
working-directory: example
- run: git --work-tree build/web add --all
working-directory: example
- run: git commit -m "Automatic deployment by github-actions"
working-directory: example
- run: git push origin HEAD:gh-pages --force
working-directory: example

18
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Publish plugin
on:
release:
types: [ published ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Publish
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}

24
.github/workflows/verification.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Code Verification
on: [ push, pull_request ]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Print Flutter version
run: flutter --version
- name: Get packages
run: flutter pub get
- name: Check formatting
run: make checkFormat
- name: Analyze the source code
run: make analyze
- name: Run tests
run: make runTests