ci: add bug request and feature request templates #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Request Checks" | |
on: | |
pull_request: | |
jobs: | |
## | |
# install | |
## | |
install: | |
name: "Install" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-flutter-dependencies | |
## | |
# validation | |
## | |
validate_pr_title: | |
name: "Validate PR Title" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-flutter-dependencies | |
- name: "β Validate" | |
run: echo ${{ github.event.pull_request.title }} | dart run commitlint_cli | |
## | |
# build | |
## | |
build_android: | |
name: "Build Android" | |
needs: [install, validate_pr_title] | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-flutter-dependencies | |
- name: "ποΈ Build APK" | |
run: flutter build apk --debug | |
- name: "ποΈ Build AppBundle" | |
run: flutter build aab --debug | |
# build_ios: | |
# name: "Build iOS" | |
# needs: [validate_pr_title] | |
# runs-on: macos-latest | |
# environment: development | |
# steps: | |
# - name: "π Checkout" | |
# uses: actions/checkout@v4 | |
# - name: "π§ Setup" | |
# uses: ./.github/actions/use-flutter-dependencies | |
# - name: "ποΈ Build ios" | |
# run: flutter build ios --release --no-codesign | |
tests: | |
name: "Tests" | |
needs: [install, validate_pr_title] | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-flutter-dependencies | |
- name: "π§ͺ Test" | |
run: flutter test |