Skip to content

fix(l10n): translations update from Hosted Weblate (#461) #678

fix(l10n): translations update from Hosted Weblate (#461)

fix(l10n): translations update from Hosted Weblate (#461) #678

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v2
- run: melos generate
- run: melos gen-l10n
- uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
build:
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v4
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v3
- run: sudo apt update
- run: sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip xvfb
env:
DEBIAN_FRONTEND: noninteractive
- run: melos build
analyze:
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- name: Restore repository cache
uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
restore-keys: |
${{ runner.os }}-repo-
- name: Restore repository cache
uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
restore-keys: |
${{ runner.os }}-repo-
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v2
- run: melos analyze --fatal-infos
format:
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- name: Restore repository cache
uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
restore-keys: |
${{ runner.os }}-repo-
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v2
- run: melos format:exclude
publish:
name: Dry-run publish
needs: setup
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Restore repository cache
uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
restore-keys: |
${{ runner.os }}-repo-
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v3
# Remove ubuntu_test from ignore list once
- run: melos exec --no-private --ignore ubuntu_test -- flutter pub publish --dry-run
test:
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- name: Restore repository cache
uses: actions/cache@v3
with:
path: .
key: ${{ runner.os }}-repo-${{ github.sha }}-generated
restore-keys: |
${{ runner.os }}-repo-
- uses: Atsumi3/[email protected]
- uses: bluefireteam/melos-action@v2
- run: sudo apt update && sudo apt install -y lcov
- run: melos coverage
- uses: codecov/codecov-action@v5
with:
token: ${{secrets.CODECOV_TOKEN}}