Skip to content

Commit

Permalink
Fixed actions
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed May 16, 2024
1 parent 9cb4ae3 commit 0093d9d
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 242 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/audit.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/build-and-deploy-site.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and Deploy Site

on:
push:
branches:
- main
permissions:
contents: write

jobs:
build-and-deploy-site:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
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: Install and Build 🔧
run: |
nix develop --command bash -c "pnpm -F docs build"
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/.vitepress/dist # The folder the action should deploy.

33 changes: 0 additions & 33 deletions .github/workflows/clippy.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/format.yml

This file was deleted.

36 changes: 19 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,40 @@ on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- dev
paths-ignore:
- 'webview-src/**'
- 'webview-dist/**'
- 'examples/**'
- develop

jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

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

- name: Install Linux dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.1
- uses: cachix/cachix-action@v14
with:
name: holochain-ci

- uses: Swatinem/rust-cache@v2
- uses: cachix/cachix-action@v14
with:
name: holochain-open-dev

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

- name: Run tests
run: cargo test --manifest-path=Cargo.toml --release
run: nix flake check -L
133 changes: 0 additions & 133 deletions docs/android-setup.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/documentation/android-setup.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Android Setup

> [!NOTE]
> This guide assumes that you have already gone through either [how to create an executable hApp](./happ-setup.md) or [how to create a holochain runtime](./runtime-setup.md).
> This guide assumes that you have already gone through either [how to create an executable hApp](./how-to-create-an-executable-happ.md) or [how to create a holochain runtime](./how-to-create-a-holochain-runtime.md).
1. In the root folder of your repository, run:

Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/getting-to-know-tauri.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ After the initial set up and scaffolding, our tauri app can only be built for de

### Android Setup

Continue to the [Android setup](./android-setup.md).
Continue to the [Android setup](./android-setup).

### iOS Setup

Expand Down

0 comments on commit 0093d9d

Please sign in to comment.