docs(command): 添加 zig fetch 命令的 git+https 形式示例 #830
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Not needed if lastUpdated is not enabled | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun i | |
| - name: check | |
| run: bun check | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Zig | |
| uses: goto-bus-stop/setup-zig@v2 | |
| - name: Verify formatting | |
| run: zig fmt . |