Remove .github

This commit is contained in:
PapaTutuWawa 2022-04-28 15:35:31 +02:00
parent bbbdf52113
commit cc354cd2eb
13 changed files with 0 additions and 424 deletions

3
.github/CODEOWNERS vendored
View File

@ -1,3 +0,0 @@
# Every request must be reviewed and accepted by:
* @felangel

View File

@ -1,25 +0,0 @@
---
name: Bug Report
about: Create a report to help us improve
title: "fix: "
labels: bug
---
**Description**
A clear and concise description of what the bug is.
**Steps To Reproduce**
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected Behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional Context**
Add any other context about the problem here.

View File

@ -1 +0,0 @@
blank_issues_enabled: false

View File

@ -1,23 +0,0 @@
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the title
Please look at the following checklist to ensure that your PR can be accepted quickly:
-->
## Description
<!--- Describe your changes in detail -->
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore

View File

@ -1,44 +0,0 @@
name: generate_template
on:
push:
paths:
- tool/generator/**
- app/**
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
working-directory: tool/generator
run: dart pub get
- name: Generate Template
run: dart ./tool/generator/main.dart
- name: Config Git User
run: |
git config user.name VGV Bot
git config user.email vgvbot@users.noreply.github.com
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.6.0
with:
base: main
branch: chore/generate-template
commit-message: "chore: generate template"
title: "chore: generate template"
body: Please squash and merge me!
labels: bot
author: VGV Bot <vgvbot@users.noreply.github.com>
assignees: vgvbot
reviewers: felangel
committer: VGV Bot <vgvbot@users.noreply.github.com>

View File

@ -1,181 +0,0 @@
name: my_plugin
on:
pull_request:
paths:
- ".github/workflows/my_plugin.yaml"
- "src/my_plugin/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin.yaml"
- "src/my_plugin/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin
android:
runs-on: macos-10.15
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: "11"
- uses: subosito/flutter-action@v2
- name: Flutter Doctor
run: flutter doctor -v
- name: AVD Cache
uses: actions/cache@v2
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-29
- name: Cache AVD Snapshot
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."
- name: Integration Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: flutter test integration_test
working-directory: src/my_plugin/example
ios:
runs-on: macos-10.15
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- name: Flutter Doctor
run: flutter doctor -v
- name: Start Simulator
run: open -a Simulator.app
- name: Integration Tests
run: flutter test integration_test -d iPhone
linux:
runs-on: ubuntu-18.04
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev liblzma-dev
- name: Enable desktop support
run: flutter config --enable-linux-desktop
- name: Flutter Doctor
run: flutter doctor -v
- name: Integration Tests
run: xvfb-run flutter test integration_test -d linux
macos:
runs-on: macos-10.15
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- name: Enable desktop support
run: flutter config --enable-macos-desktop
- name: Flutter Doctor
run: flutter doctor -v
- name: Integration Tests
run: flutter test integration_test -d macos
web:
runs-on: macos-10.15
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- name: Flutter Doctor
run: flutter doctor -v
- name: Run Chromedriver
run: |
git clone https://github.com/felangel/web_installers
cd web_installers/packages/web_drivers
dart pub get
dart lib/web_driver_installer.dart chromedriver --install-only
./chromedriver/chromedriver --port=4444 &
- name: Integration Tests
run: flutter drive --driver test_driver/integration_test.dart --target integration_test/app_test.dart -d web-server --browser-name=chrome
windows:
runs-on: windows-2019
defaults:
run:
working-directory: src/my_plugin/example
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- name: Enable desktop support
run: flutter config --enable-windows-desktop
- name: Flutter Doctor
run: flutter doctor -v
- name: Integration Tests
run: flutter test integration_test -d windows

View File

@ -1,21 +0,0 @@
name: my_plugin_android
on:
pull_request:
paths:
- ".github/workflows/my_plugin_android.yaml"
- "src/my_plugin_android/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_android.yaml"
- "src/my_plugin_android/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_android

View File

@ -1,21 +0,0 @@
name: my_plugin_ios
on:
pull_request:
paths:
- ".github/workflows/my_plugin_ios.yaml"
- "src/my_plugin_ios/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_ios.yaml"
- "src/my_plugin_ios/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_ios

View File

@ -1,21 +0,0 @@
name: my_plugin_linux
on:
pull_request:
paths:
- ".github/workflows/my_plugin_linux.yaml"
- "src/my_plugin_linux/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_linux.yaml"
- "src/my_plugin_linux/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_linux

View File

@ -1,21 +0,0 @@
name: my_plugin_macos
on:
pull_request:
paths:
- ".github/workflows/my_plugin_macos.yaml"
- "src/my_plugin_macos/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_macos.yaml"
- "src/my_plugin_macos/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_macos

View File

@ -1,21 +0,0 @@
name: my_plugin_platform_interface
on:
pull_request:
paths:
- ".github/workflows/my_plugin_platform_interface.yaml"
- "src/my_plugin_platform_interface/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_platform_interface.yaml"
- "src/my_plugin_platform_interface/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_platform_interface

View File

@ -1,21 +0,0 @@
name: my_plugin_web
on:
pull_request:
paths:
- ".github/workflows/my_plugin_web.yaml"
- "src/my_plugin_web/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_web.yaml"
- "src/my_plugin_web/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_web

View File

@ -1,21 +0,0 @@
name: my_plugin_windows
on:
pull_request:
paths:
- ".github/workflows/my_plugin_windows.yaml"
- "src/my_plugin_windows/**"
push:
branches:
- main
paths:
- ".github/workflows/my_plugin_windows.yaml"
- "src/my_plugin_windows/**"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_channel: stable
flutter_version: 2.10.1
working_directory: src/my_plugin_windows