Skip to content

Commit 0e85d47

Browse files
committed
docs: add FlakeHub badge and update input URL
Add shields.io badge linking to FlakeHub and update the example flake input to use the FlakeHub URL format.
1 parent 9d0bb7a commit 0e85d47

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# github-actions-nix
22

3+
[![FlakeHub](https://img.shields.io/endpoint?url=https://flakehub.com/f/synapdeck/github-actions-nix/badge)](https://flakehub.com/flake/synapdeck/github-actions-nix)
4+
35
Generate GitHub Actions workflows from Nix configuration using a type-safe, declarative approach.
46

57
## Features
@@ -19,7 +21,7 @@ Generate GitHub Actions workflows from Nix configuration using a type-safe, decl
1921
inputs = {
2022
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2123
flake-parts.url = "github:hercules-ci/flake-parts";
22-
github-actions-nix.url = "github:YOUR_USERNAME/github-actions-nix";
24+
github-actions-nix.url = "https://flakehub.com/f/synapdeck/github-actions-nix/*";
2325
};
2426
}
2527
```

flake.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
];
1818

1919
# Partition development tools to avoid polluting consumers' lockfiles
20-
partitionedAttrs.devShells = "dev";
21-
partitionedAttrs.apps = "dev";
22-
partitionedAttrs.checks = "dev";
20+
partitionedAttrs = {
21+
devShells = "dev";
22+
apps = "dev";
23+
checks = "dev";
24+
};
2325

2426
partitions.dev = {
2527
extraInputsFlake = ./dev;

0 commit comments

Comments
 (0)