diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c29b78..c5cd042 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,9 @@ jobs: - uses: actions-rs/toolchain@v1 with: + profile: minimal toolchain: stable override: true - components: rustfmt - name: Install Rust targets run: > @@ -70,6 +70,18 @@ jobs: -t x86 -o app/src/main/jniLibs/ -- build + format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt + - name: Format run: cargo fmt --all -- --check working-directory: android-activity