Skip to content

Commit

Permalink
refactor: with omnibus
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Nov 26, 2023
1 parent d5dd646 commit e0d1a3b
Show file tree
Hide file tree
Showing 111 changed files with 4,403 additions and 6,709 deletions.
12 changes: 7 additions & 5 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Disable the automatic menu displaying on every environment reload.
export DEVSHELL_NO_MOTD=1

# export DEVSHELL_NO_MOTD=1
watch_file flakes.nix flake.lock
watch_file nix/std/flake.nix nix/std/flake.lock
# shellcheck disable=SC1090
source "$(fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/main/lib" "sha256-XKqDMz+VtF8VSJ4yOok4mO1xxXUZbD1t2yC0JmEXrCI=")"
source "$(fetchurl "https://raw.githubusercontent.com/gtrunsec/direnv/main/lib" "sha256-tuMA8WGkwcYq9V3MtlN6xdVvKd2YkdEpdK4ZyAN6VDM=")"

registry="$PRJ_ROOT/nix/std#__std"

# use envreload //automation/devshells/default
use flake
use envreload //repo/shells/default
21 changes: 7 additions & 14 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0


- uses: nixbuild/nix-quick-install-action@v25
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

# CI workflows
Expand All @@ -30,20 +30,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
nix develop -c nvfetcher-pkgs
nix develop -c nvfetcher-pkgs; nvfetcher-python; nvfetcher-go
- name: Commit changes
- name: Create Pull Request
if: ${{ env.COMMIT_MSG != null }}
uses: stefanzweifel/git-auto-commit-action@v4
uses: peter-evans/create-pull-request@v5
with:
commit_message: ${{ env.COMMIT_MSG }}


- name: Build Packages
run: nix -Lv develop .#mkdoc -c mkdoc

- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./docs/publish/public
title: Update Packages
delete-branch: true
branch: update-packages
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# nixago-auto-created: mdbook-build-folder
docs/book/**

/.data
# nixago: ignore-linked-files
/treefmt.toml
treefmt.toml
/.std
/.std
Loading

0 comments on commit e0d1a3b

Please sign in to comment.