Fladder/.github/workflows/checks.yaml
PartyDonut eb231f37cd
feat: Added translations, use locales instead of depending on hardcoded strings. (#65)
## Pull Request Description

Single and hopefully only commit so weblate is up-to-date with last
repository

## Special thanks to the translators 🎉 

@kingu - Noors (Bokmål) (nb_NO)
@alison2033  - Portuguese (Brazil) (pt_BR)
@andreasmolnardev - German (de)
@stanol - Ukrainian (uk)

If I forgot someone let me know!

## Checklist

- [x] If a new package was added, did you ensure it works for all
supported platforms? Is the package also well maintained?
- [x] Did you add localization for any text? If yes, did you sort the
.arb file using ```arb_utils sort <INPUT_FILE>```?
- [x] Check that any changes are related to the issue at hand.

---------

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
2024-10-23 18:27:24 +02:00

30 lines
770 B
YAML

name: Flutter checks
on:
pull_request:
branches:
- develop
workflow_dispatch:
jobs:
linting:
name: Linting & Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Set up Flutter
uses: subosito/flutter-action@v2.16.0
with:
channel: ${{ vars.FLUTTER_CHANNEL }}
flutter-version: ${{ vars.FLUTTER_VERSION }}
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Get dependencies
run: flutter pub get
- name: Linting
run: flutter analyze --no-fatal-infos --no-fatal-warnings