mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:08:42 +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
|
- name: Cloning sub-repos
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
|
# - name: Check flutter code
|
||||||
|
# run: |
|
||||||
|
# flutter pub get
|
||||||
|
# flutter analyze
|
||||||
|
# flutter test
|
||||||
|
|
||||||
- name: Check flutter code
|
- name: Check flutter code
|
||||||
run: |
|
run: flutter pub get
|
||||||
flutter pub get
|
|
||||||
flutter analyze
|
|
||||||
flutter test
|
|
||||||
|
|
||||||
- name: Create key.properties file
|
- name: Create key.properties file
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -390,6 +390,7 @@ class _UserListItem extends State<UserListItem> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!mounted) return;
|
||||||
await Navigator.push(
|
await Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) {
|
MaterialPageRoute(builder: (context) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
name: twonly
|
name: twonly
|
||||||
description: "twonly, a privacy-friendly way to connect with friends through secure, spontaneous image sharing."
|
description: "twonly, a privacy-friendly way to connect with friends through secure, spontaneous image sharing."
|
||||||
|
|
||||||
# Prevent accidental publishing to pub.dev.
|
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.0.58+58
|
version: 0.0.58+58
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue