Files
game-tracker/.gitea/workflows/pull_request.yaml
Felix Kirchner eeec92181a
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 47s
Pull Request Pipeline / test (pull_request) Has been skipped
Added jq installation
2025-11-19 09:53:54 +01:00

42 lines
798 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: sudo apt-get install -y jq
- 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