From cc354cd2eb9cda29e56b53baeafba9139d84f242 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Thu, 28 Apr 2022 15:35:31 +0200 Subject: [PATCH] Remove .github --- .github/CODEOWNERS | 3 - .github/ISSUE_TEMPLATE/bug_report.md | 25 --- .github/ISSUE_TEMPLATE/config.yml | 1 - .github/PULL_REQUEST_TEMPLATE.md | 23 --- .github/workflows/generate_template.yaml | 44 ----- .github/workflows/my_plugin.yaml | 181 ------------------ .github/workflows/my_plugin_android.yaml | 21 -- .github/workflows/my_plugin_ios.yaml | 21 -- .github/workflows/my_plugin_linux.yaml | 21 -- .github/workflows/my_plugin_macos.yaml | 21 -- .../my_plugin_platform_interface.yaml | 21 -- .github/workflows/my_plugin_web.yaml | 21 -- .github/workflows/my_plugin_windows.yaml | 21 -- 13 files changed, 424 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .github/workflows/generate_template.yaml delete mode 100644 .github/workflows/my_plugin.yaml delete mode 100644 .github/workflows/my_plugin_android.yaml delete mode 100644 .github/workflows/my_plugin_ios.yaml delete mode 100644 .github/workflows/my_plugin_linux.yaml delete mode 100644 .github/workflows/my_plugin_macos.yaml delete mode 100644 .github/workflows/my_plugin_platform_interface.yaml delete mode 100644 .github/workflows/my_plugin_web.yaml delete mode 100644 .github/workflows/my_plugin_windows.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 813d7e6..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,3 +0,0 @@ -# Every request must be reviewed and accepted by: - -* @felangel \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 5f2fb38..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 3ba13e0..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: false diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 6b9372e..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,23 +0,0 @@ - - -## Description - - - -## Type of Change - - - -- [ ] โœจ 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 diff --git a/.github/workflows/generate_template.yaml b/.github/workflows/generate_template.yaml deleted file mode 100644 index 42946f5..0000000 --- a/.github/workflows/generate_template.yaml +++ /dev/null @@ -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 - assignees: vgvbot - reviewers: felangel - committer: VGV Bot diff --git a/.github/workflows/my_plugin.yaml b/.github/workflows/my_plugin.yaml deleted file mode 100644 index fa3bc1b..0000000 --- a/.github/workflows/my_plugin.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_android.yaml b/.github/workflows/my_plugin_android.yaml deleted file mode 100644 index bd3df3f..0000000 --- a/.github/workflows/my_plugin_android.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_ios.yaml b/.github/workflows/my_plugin_ios.yaml deleted file mode 100644 index 71aea72..0000000 --- a/.github/workflows/my_plugin_ios.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_linux.yaml b/.github/workflows/my_plugin_linux.yaml deleted file mode 100644 index a45b354..0000000 --- a/.github/workflows/my_plugin_linux.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_macos.yaml b/.github/workflows/my_plugin_macos.yaml deleted file mode 100644 index 4b0dfb7..0000000 --- a/.github/workflows/my_plugin_macos.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_platform_interface.yaml b/.github/workflows/my_plugin_platform_interface.yaml deleted file mode 100644 index fd1d4e5..0000000 --- a/.github/workflows/my_plugin_platform_interface.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_web.yaml b/.github/workflows/my_plugin_web.yaml deleted file mode 100644 index 0a0ee40..0000000 --- a/.github/workflows/my_plugin_web.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/my_plugin_windows.yaml b/.github/workflows/my_plugin_windows.yaml deleted file mode 100644 index 613850a..0000000 --- a/.github/workflows/my_plugin_windows.yaml +++ /dev/null @@ -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