feat(skills): add m16-documentation skill for Rust documentation guid… #107
This file contains hidden or 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: Candy macOS arm | ||
| on: | ||
| push: | ||
| branches: [""] | ||
| pull_request: | ||
| branches: [""] | ||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| jobs: | ||
| check: | ||
| runs-on: ["self-hosted", "macos-arm"] | ||
| steps: | ||
| - uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.cargo/bin/ | ||
| ~/.cargo/registry/index/ | ||
| ~/.cargo/registry/cache/ | ||
| ~/.cargo/git/db/ | ||
| target/ | ||
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
| - uses: actions/checkout@v4 | ||
| - name: Clippy check | ||
| run: make lint | ||
| test: | ||
| runs-on: ["self-hosted", "macos-arm"] | ||
| steps: | ||
| - uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.cargo/bin/ | ||
| ~/.cargo/registry/index/ | ||
| ~/.cargo/registry/cache/ | ||
| ~/.cargo/git/db/ | ||
| target/ | ||
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
| - uses: actions/checkout@v4 | ||
| - name: Unit test | ||
| run: make test | ||
| build: | ||
| runs-on: ["self-hosted", "macos-arm"] | ||
| steps: | ||
| - uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.cargo/bin/ | ||
| ~/.cargo/registry/index/ | ||
| ~/.cargo/registry/cache/ | ||
| ~/.cargo/git/db/ | ||
| target/ | ||
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
| - uses: actions/checkout@v4 | ||
| - name: Build release | ||
| run: make release | ||