gemini improved performance and docs #95
Workflow file for this run
  
    
      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
    
  
  
    
  | on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: {} | |
| name: Test | |
| jobs: | |
| build_and_test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: nightly | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo test --features "use-serde" | |
| - uses: jetli/wasm-pack-action@v0.3.0 | |
| with: | |
| version: "latest" | |
| - run: (cd wasm-example/ && wasm-pack build -t web) | |
| - name: "compiles to js" | |
| run: (cd wasm-example/ && yarn && yarn vite build --base=./) | |
| - name: Deploy to server | |
| id: deploy | |
| uses: Pendect/action-rsyncer@v2.0.0 | |
| env: | |
| DEPLOY_KEY: ${{secrets.rsync_private_key}} | |
| with: | |
| flags: "-avzr --progress" | |
| options: "" | |
| ssh_options: "" | |
| src: "wasm-example/dist/*" | |
| dest: "rsync-user@tiye.me:/web-assets/repo/${{ github.repository }}" | |
| - name: Display status from deploy | |
| run: echo "${{ steps.deploy.outputs.status }}" |