Skip to content

Commit b1bb5e2

Browse files
authored
ci: update nix/cachix actions (#46)
1 parent f4622e3 commit b1bb5e2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/checks.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: cachix/install-nix-action@v24
13-
# - uses: cachix/cachix-action@v12
14-
# with:
15-
# name: neorocks
16-
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
12+
- uses: DeterminateSystems/nix-installer-action@main
13+
- uses: DeterminateSystems/magic-nix-cache-action@main
1714
- run: nix flake check -L --accept-flake-config --option sandbox false

flake.nix

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
2-
description = "devShell for Rust projects";
2+
description = "Edit toml files while preserving whitespace and formatting from Lua";
3+
4+
nixConfig = {
5+
extra-substituters = "https://neorocks.cachix.org";
6+
extra-trusted-public-keys = "neorocks.cachix.org-1:WqMESxmVTOJX7qoBC54TwrMMoVI1xAM+7yFin8NRfwk=";
7+
};
38

49
inputs = {
510
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

0 commit comments

Comments
 (0)