Skip to content

Commit

Permalink
fix(nix): update deps-lock, add GHA workflow to maintain it (#17)
Browse files Browse the repository at this point in the history
* Update deps-lock.json

* Mark deps-lock.json as generated for future PRs

* Add update-deps-lock GHA job
  • Loading branch information
thenonameguy authored Feb 15, 2024
1 parent f2f23b2 commit 32304cc
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 234 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deps-lock.json linguist-generated=true
24 changes: 24 additions & 0 deletions .github/workflows/update-deps-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Update deps-lock.json"
on:
push:
paths:
- "**/deps.edn"

jobs:
update-lock:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: cachix/install-nix-action@v17

- name: Update deps-lock
run: "nix run github:jlesquembre/clj-nix#deps-lock"

- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: Update deps-lock.json
title: Update deps-lock.json
branch: update-deps-lock
Loading

0 comments on commit 32304cc

Please sign in to comment.