Use ripgrep instead of fortune

This commit is contained in:
Ana Hobden 2023-05-25 08:53:32 -07:00
parent 9b252454a8
commit 10f7447de7

View file

@ -22,11 +22,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
@ -44,11 +44,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Reinstall Nix
uses: ./
with:
@ -61,11 +61,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Verify the generated nix.conf
run: |
cat -n /etc/nix/nix.conf
@ -88,11 +88,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
@ -114,11 +114,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Reinstall Nix
uses: ./
with:
@ -131,11 +131,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#ripgrep
nix profile install nixpkgs#ripgrep
ripgrep
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#ripgrep
- name: Verify the generated nix.conf
run: |
cat -n /etc/nix/nix.conf