Skip to content

ci: add deploy workflows #1

ci: add deploy workflows

ci: add deploy workflows #1

Workflow file for this run

# First pass at a nix-based GHA setup for penumbra-guide.
name: Validate nix env for GHA
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
jobs:
check_nix:
name: build
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main
with:
fail-mode: true
# Nix-specific logic begins here
- name: Check Rust formatting
run: |
nix develop --command \
pnpm build
- name: view built docroot
run: |
find ./out