Skip to content

Commit

Permalink
Merge pull request #36 from jwillikers/minor-clean-up
Browse files Browse the repository at this point in the history
Minor clean up
  • Loading branch information
jwillikers authored Oct 11, 2024
2 parents 47f9a45 + d25c9c1 commit 2a575ab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/update-nixos-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Update the NixOS release in flake.nix to the latest
run: nix develop --command nu update-nixos-release.nu
run: |
nix develop --command nu update-nixos-release.nu
nix flake update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
Expand Down
14 changes: 7 additions & 7 deletions .justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
default: serve

alias b := build

build:
jekyll build

alias c := check

check: build
check: build && format
yamllint .
asciidoctor {CODE_OF_CONDUCT,LICENSE,README}.adoc
lychee --cache _site/ *.html
Expand All @@ -13,11 +18,6 @@ alias fmt := format
format:
treefmt

alias b := build

build:
jekyll build

alias s := serve

serve:
Expand All @@ -26,8 +26,8 @@ serve:
alias t := test

test:
nu update-nixos-release-tests.nu
nu update-nix-direnv-tests.nu
nu update-nixos-release-tests.nu

alias u := update
alias up := update
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
};
outputs =
{
# deadnix: skip
self,
flake-utils,
nixpkgs,
Expand Down
3 changes: 0 additions & 3 deletions update-nix-direnv.nu
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# https://github.com/nix-community/nix-direnv

# get_latest_nix_direnv_release
# get_latest_nix_direnv_release

# Get the newest version of nix-direnv.
def get_latest_nix_direnv_version [] [ nothing -> string ] {
http get https://api.github.com/repos/nix-community/nix-direnv/releases/latest | get name
Expand Down

0 comments on commit 2a575ab

Please sign in to comment.