Skip to content

Commit

Permalink
build: github files and action refactoring (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimibe authored Sep 29, 2023
1 parent 36f6c68 commit efa1364
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default owners
* @Dimibe
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: Dimibe

---

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Information:**
- Dart version:
- Flutter version:
- Platform:
- Package version:
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Help wanted
about: Ask a question about grouped_list and it's usage
title: ''
labels: help wanted
assignees: ''

---


2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
12 changes: 12 additions & 0 deletions .github/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
changelog:
categories:
- title: 🏕 Features
labels:
- new feature
- improvement
- title: 🐛 Bug Fixes
labels:
- bug
- title: 👒 Dependencies
labels:
- dependencies
15 changes: 9 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@ name: Build

on:
push:
branches: [ main ]
branches: [ main, feature/** ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter packages get
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Flutter version
run: flutter --version
- name: Install dependencies
run: flutter pub get
- name: Format
run: flutter format --set-exit-if-changed lib test
run: dart format --set-exit-if-changed lib test
- name: Analyze
run: flutter analyze lib test
- name: Run tests
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ homepage: https://begnis.dev
repository: https://github.com/Dimibe/sticky_grouped_list

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=2.17.0 <4.0.0"
flutter: ">=1.17.0"

dependencies:
flutter:
sdk: flutter
scrollable_positioned_list: ^0.3.2
meta: ^1.7.0
scrollable_positioned_list: ^0.3.8
meta: ^1.9.1

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter_lints: ^2.0.3

0 comments on commit efa1364

Please sign in to comment.