Skip to content

Commit

Permalink
Merge pull request #24 from ankit2001/add_github_actions
Browse files Browse the repository at this point in the history
Add basic github actions (Issue, Matrix, bundler, dependabot)
  • Loading branch information
Samuel Rosado committed Apr 15, 2021
2 parents b057f16 + 3dd860a commit 18417e7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
11 changes: 11 additions & 0 deletions .github/workflow/app-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '1.22.4'
- run: flutter pub get
- run: flutter test
- run: flutter build appbundle
11 changes: 11 additions & 0 deletions .github/workflow/issue-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Issue assigner"

on: [issues, issue_comment]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: Bugheist/issue-assigner@main
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21 changes: 21 additions & 0 deletions .github/workflow/matrix-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '1.20.2'
channel: 'beta'
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: flutter test
- run: flutter build apk

0 comments on commit 18417e7

Please sign in to comment.