Skip to content

Commit

Permalink
Switch to Nix Installer Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins authored and cole-h committed Feb 28, 2023
1 parent 6f9746f commit 6411dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v18
uses: DeterminateSystems/nix-installer-action@main
- name: Shellcheck
run: nix-shell --run 'shellcheck $(find . -type f -name "*.sh" -executable)'
7 changes: 2 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
- cron: "0 0 * * 0"

jobs:
lockfile:
Expand All @@ -11,9 +11,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: ./.

0 comments on commit 6411dd2

Please sign in to comment.