Skip to content

fix: accept single-digit bus hours #6

fix: accept single-digit bus hours

fix: accept single-digit bus hours #6

Workflow file for this run

name: Android CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: android-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Test and build debug APK
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Java
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
distribution: temurin
java-version: "17"
cache: gradle
- name: Set up Flutter
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
with:
channel: stable
flutter-version: 3.27.4
cache: true
- name: Install dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Run static analysis
run: flutter analyze --no-fatal-infos
- name: Build debug APK
run: flutter build apk --debug
- name: Upload debug APK
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: marchkov-helper-debug-${{ github.sha }}
path: build/app/outputs/flutter-apk/app-debug.apk
if-no-files-found: error
retention-days: 7