Bump to v0.12.8 #11
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: "test" | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| workflow_dispatch: | |
| # Cancel an in-progress run when new commits are pushed to the same PR. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Free disk space | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| tool-cache: false | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: false | |
| swap-storage: false | |
| - name: Install nix | |
| uses: cachix/install-nix-action@v27 | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| nix_path: nixpkgs=channel:nixos-24.05 | |
| enable_kvm: true | |
| - uses: cachix/cachix-action@v15 | |
| with: | |
| name: holochain-ci | |
| - uses: cachix/cachix-action@v15 | |
| with: | |
| name: holochain-open-dev | |
| - uses: cachix/cachix-action@v15 | |
| with: | |
| name: darksoil-studio | |
| # `npm test` builds the zomes (wasm), packs the .happ, then runs the | |
| # Tryorama/Vitest suite in the `tests` workspace against that .happ. | |
| - name: Install and run tests | |
| run: | | |
| nix develop --no-update-lock-file --accept-flake-config --command bash -c "npm install && npm test" | |
| env: | |
| CARGO_REGISTRIES_CARGO_HOSTED_TOKEN: ${{ secrets.VOLLA_NEXUS_TOKEN }} |