mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fix linting error
This commit is contained in:
parent
ad02f6a314
commit
e2be7aac5b
4 changed files with 38 additions and 5 deletions
30
.github/workflows/dev_github.yml
vendored
Normal file
30
.github/workflows/dev_github.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Publish on Github
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build_and_publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
|
||||
- name: Cloning sub-repos
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Check flutter code
|
||||
run: |
|
||||
flutter pub get
|
||||
flutter analyze
|
||||
flutter test
|
||||
11
.github/workflows/release_github.yml
vendored
11
.github/workflows/release_github.yml
vendored
|
|
@ -25,11 +25,14 @@ jobs:
|
|||
- name: Cloning sub-repos
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
# - name: Check flutter code
|
||||
# run: |
|
||||
# flutter pub get
|
||||
# flutter analyze
|
||||
# flutter test
|
||||
|
||||
- name: Check flutter code
|
||||
run: |
|
||||
flutter pub get
|
||||
flutter analyze
|
||||
flutter test
|
||||
run: flutter pub get
|
||||
|
||||
- name: Create key.properties file
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -390,6 +390,7 @@ class _UserListItem extends State<UserListItem> {
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (!mounted) return;
|
||||
await Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
name: twonly
|
||||
description: "twonly, a privacy-friendly way to connect with friends through secure, spontaneous image sharing."
|
||||
|
||||
# Prevent accidental publishing to pub.dev.
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.0.58+58
|
||||
|
|
|
|||
Loading…
Reference in a new issue