mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-29 09:20:56 +01:00
Merge remote-tracking branch 'origin/master' into feature/offline-mode
# Conflicts: # ios/Podfile.lock # lib/l10n/app_en.arb # lib/main.dart # lib/providers/user.dart # lib/widgets/core/settings.dart # pubspec.yaml # test/core/settings_test.dart # test/core/settings_test.mocks.dart # test/user/provider_test.dart
This commit is contained in:
12
.github/workflows/analyze.yml
vendored
12
.github/workflows/analyze.yml
vendored
@@ -5,17 +5,26 @@ on:
|
||||
- '**.dart'
|
||||
- 'pubspec.yaml'
|
||||
- 'analysis_options.yaml'
|
||||
- 'lib/l10n/**'
|
||||
- 'ios/Runner/Info.plist'
|
||||
- 'android/app/src/main/res/xml/locales_config.xml'
|
||||
pull_request:
|
||||
branches: [ master, ]
|
||||
paths:
|
||||
- '**/*.dart'
|
||||
- 'pubspec.yaml'
|
||||
- 'analysis_options.yaml'
|
||||
- 'lib/l10n/**'
|
||||
- 'ios/Runner/Info.plist'
|
||||
- 'android/app/src/main/res/xml/locales_config.xml'
|
||||
- '.github/actions/flutter-common/action.yml'
|
||||
- '.github/workflows/analyze.yml'
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Run analyzer
|
||||
@@ -31,3 +40,6 @@ jobs:
|
||||
|
||||
- name: Analyze
|
||||
run: flutter analyze --no-fatal-infos --no-fatal-warnings
|
||||
|
||||
- name: Check locale lists are in sync
|
||||
run: dart run tool/check_locales.dart
|
||||
|
||||
4
.github/workflows/build-android.yml
vendored
4
.github/workflows/build-android.yml
vendored
@@ -16,6 +16,10 @@ on:
|
||||
required: true
|
||||
DECRYPTKEY_PROPERTIES:
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_android_apk:
|
||||
name: APK file
|
||||
|
||||
4
.github/workflows/build-apple.yml
vendored
4
.github/workflows/build-apple.yml
vendored
@@ -11,6 +11,10 @@ on:
|
||||
ref:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_ios:
|
||||
name: iOS
|
||||
|
||||
4
.github/workflows/build-linux.yml
vendored
4
.github/workflows/build-linux.yml
vendored
@@ -21,6 +21,10 @@ on:
|
||||
secrets:
|
||||
SSH_DEPLOY_KEY:
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
# TODO: note that we currently only build for x64, as arm64 is not supported by
|
||||
|
||||
4
.github/workflows/build-windows.yml
vendored
4
.github/workflows/build-windows.yml
vendored
@@ -11,6 +11,10 @@ on:
|
||||
ref:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
# TODO: we currently upload the release folder as a ZIP, which works as a
|
||||
# portable version. For a proper installer (e.g. via Inno Setup or MSIX),
|
||||
|
||||
3
.github/workflows/bump-version.yml
vendored
3
.github/workflows/bump-version.yml
vendored
@@ -6,6 +6,9 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
determine_version:
|
||||
name: Create tag
|
||||
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -14,6 +14,9 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run tests
|
||||
|
||||
40
.github/workflows/codeql-analysis.yml
vendored
Normal file
40
.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
- cron: '44 6 * * 6' # Every Saturday at 6:44 UTC
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'actions' ]
|
||||
# Supported languages https://git.io/codeql-language-support
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v4
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v4
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v4
|
||||
7
.github/workflows/make-release.yml
vendored
7
.github/workflows/make-release.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
ci:
|
||||
@@ -16,6 +19,8 @@ jobs:
|
||||
determine_version:
|
||||
needs: ci
|
||||
name: Prepare
|
||||
permissions:
|
||||
contents: write
|
||||
uses: ./.github/workflows/bump-version.yml
|
||||
with:
|
||||
app_version: ${{ github.event.inputs.version }}
|
||||
@@ -126,6 +131,8 @@ jobs:
|
||||
make_gh_release:
|
||||
name: Make Github Release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
needs:
|
||||
- upload_play_store
|
||||
- build_linux
|
||||
|
||||
5
.github/workflows/screenshots.yml
vendored
5
.github/workflows/screenshots.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
screenshots_apple:
|
||||
name: 'iOS'
|
||||
@@ -125,6 +128,8 @@ jobs:
|
||||
- screenshots_android
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user