Updated order
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 44s
Pull Request Pipeline / test (pull_request) Successful in 37s
Pull Request Pipeline / build (pull_request) Successful in 5m15s

This commit is contained in:
2026-01-24 11:43:31 +01:00
parent c6bb9aa40e
commit 4bfbcd1b65

View File

@@ -7,32 +7,6 @@ on:
- "main" - "main"
jobs: jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# Required for Flutter action
- name: Install jq
run: |
apt-get update
apt-get install -y jq
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.38.6
- name: Get dependencies
run: |
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.38.6-x64
flutter pub get
- name: Run tests
run: flutter test
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -68,6 +42,32 @@ jobs:
- name: Build APK - name: Build APK
run: flutter build apk --release run: flutter build apk --release
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# Required for Flutter action
- name: Install jq
run: |
apt-get update
apt-get install -y jq
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.38.6
- name: Get dependencies
run: |
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.38.6-x64
flutter pub get
- name: Run tests
run: flutter test
update_version: update_version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/development' if: gitea.ref == 'refs/heads/development'