Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Fixed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jul 10, 2024
1 parent a2e5ee2 commit 499b5c4
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 342 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
name: holochain-open-dev

- uses: cachix/cachix-action@v14
with:
name: darksoil-studio

- name: Install and test
run: |
nix develop --command bash -c "pnpm i && pnpm t && pnpm -F @darksoil-studio/roles build"
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/cache-hc-progenitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Build and cache hc-progenitor"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-cache-hc-progenitor:
strategy:
fail-fast: false
matrix:
platform: [macos-11, ubuntu-22.04]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3

- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable

- uses: cachix/cachix-action@v14
with:
name: holochain-ci

- uses: cachix/cachix-action@v14
with:
name: holochain-open-dev

- uses: cachix/cachix-action@v14
with:
name: darksoil-studio

- name: Build zomes
env:
CACHIX_AUTH_TOKEN: "${{ secrets.DARKSOIL_CACHIX_AUTH_TOKEN }}"
run: |
nix build -L .#hc-progenitor
cachix push darksoil-studio $(nix path-info --accept-flake-config .#hc-progenitor)
cachix pin darksoil-studio hc-progenitor $(nix path-info --accept-flake-config .#hc-progenitor)
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
with:
name: holochain-open-dev

- uses: cachix/cachix-action@v14
with:
name: darksoil-studio

- name: Install and test
run: |
nix develop --command bash -c "pnpm i && pnpm t && pnpm -F @darksoil-studio/roles build"
nix develop --accept-flake-config --command bash -c "pnpm i && pnpm t && pnpm -F @darksoil-studio/roles build"
118 changes: 0 additions & 118 deletions docs/elements/create-role-claim.md

This file was deleted.

112 changes: 0 additions & 112 deletions docs/elements/role-claim-detail.md

This file was deleted.

Loading

0 comments on commit 499b5c4

Please sign in to comment.