Skip to content

feat(web): add loading screen #378

feat(web): add loading screen

feat(web): add loading screen #378

Workflow file for this run

name: "lint"
on:
- push
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Install cargo-make
uses: davidB/rust-cargo-make@v1
- name: Check formatting
run: cargo make fmt-check
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-java@v3
with:
distribution: temurin # See 'Supported distributions' for available options
java-version: 17
- name: Download ktlint
run: |
curl -sSL https://api.github.com/repos/pinterest/ktlint/releases/latest |
jq '.assets[].browser_download_url | select(endswith("ktlint"))' |
xargs curl -sSLO
chmod +x ktlint
- name: Run ktlint
run: |
cd android
../ktlint