Added first workflow
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 1m9s
Pull Request Pipeline / test (pull_request) Has been skipped

This commit is contained in:
2025-11-19 09:51:37 +01:00
parent 0202d09812
commit a8962e68b6

View File

@@ -0,0 +1,39 @@
name: Pull Request Pipeline
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 'stable'
channel: 'stable'
- name: Check Formatting
run: flutter analyze
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 'stable'
channel: 'stable'
- name: Get dependencies
run: flutter pub get
- name: Run Tests
run: flutter test