Skip to content

Commit

Permalink
✨ Add github workflow to update nix inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
arthsmn committed Jul 23, 2024
1 parent 024df2a commit f871723
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/update-nix-inputs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update nix inputs

jobs:
update:
name: inputs
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- uses: DeterminateSystems/nix-installer-action@main
- uses: extractions/setup-just@v2
- name: Update inputs
run: just update-nix-inputs

- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "⬆️ Nix: update inputs"
3 changes: 3 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ parser-data:
./generator > ../../highlevel.go ast.json
gofmt -s -w ../../highlevel.go
jq . < ast.json | sponge ast.json

update-nix-inputs:
nix flake update

0 comments on commit f871723

Please sign in to comment.