Files
game-tracker/.gitea/workflows/pull_request.yaml
Felix Kirchner 6638c2deee
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 10s
Pull Request Pipeline / test (pull_request) Has been skipped
Removed cache clearing
2025-11-19 10:08:04 +01:00

46 lines
832 B
YAML

name: Pull Request Pipeline
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install jq
run: |
apt-get update
apt-get install -y jq
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.38.2'
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