This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
push: | |
paths: deps.edn | |
jobs: | |
ci: | |
name: Update deps-lock | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Update deps-lock.json | |
run: nix run github:jlesquembre/clj-nix#deps-lock | |
- name: Commit changes | |
run: | | |
git config user.name "sohalt" | |
git config user.email '[email protected]' | |
git add deps-lock.json | |
git commit -m "Update deps-lock.json" | |
git push |