feat: console implement repositories and organization #28
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
name: ci | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
format: | |
name: cargo fmt | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- name: Run fmt | |
run: cargo fmt --manifest-path ./src-tauri/Cargo.toml --all -- --check --unstable-features | |
cargo-clippy: | |
name: cargo clippy | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo clippy --manifest-path ./src-tauri/Cargo.toml --all-targets --all-features --workspace -- -D warnings |