Fixed text input on Android, fixed for older Android versions, modified material
style
#82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © SixtyFPS GmbH <info@slint.dev> | |
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 | |
name: autofix.ci # needed to securely identify the workflow | |
on: | |
pull_request: | |
branches: [master, "feature/*"] | |
push: | |
branches: [master, "feature/*"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
format_lint_typecheck: | |
runs-on: ubuntu-24.04 | |
env: | |
CARGO_INCREMENTAL: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 9.11.0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: ./.github/actions/install-linux-dependencies | |
- uses: ./.github/actions/setup-rust | |
with: | |
toolchain: nightly | |
components: rustfmt | |
target: aarch64-linux-android | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Setup Biome CLI | |
uses: biomejs/setup-biome@v2 | |
- name: Rust format | |
run: cargo fmt -- | |
- name: C++ format | |
run: find -iname \*.h -o -iname \*.cpp | xargs clang-format -i | |
- name: Run biome for top-level json config itself | |
run: biome format biome.json | |
- name: Format, Lint on npm projects | |
run: | | |
pnpm install --frozen-lockfile | |
pnpm format | |
pnpm lint | |
- name: Check license headers | |
run: cargo xtask check_license_headers --fix-it | |
- name: Suggest format changes | |
uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c | |
- name: Build wasm-interpreter before type check | |
working-directory: tools/slintpad | |
run: pnpm build:wasm_interpreter | |
- name: Build wasm-lsp before type check | |
working-directory: editors/vscode | |
run: pnpm build:wasm_lsp | |
- name: Typecheck on npm projects | |
run: | | |
pnpm type-check | |
- run: sudo apt-get install pipx | |
- run: pipx install reuse | |
- name: Check reuse compliance | |
run: cargo xtask check_reuse_compliance |