Skip to content

Commit

Permalink
Move update bb ci job to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Nov 17, 2024
1 parent 3064cbd commit 68b767b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-babashka.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Update deps"
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: "39 3 * * 1"

jobs:
clojure-deps:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Update babashka version
run: "nix run .#babashka-unwrapped.updateScript"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update
title: Update clojure dependencies
assignees: jlesquembre
branch: update-babahska
labels: |
dependencies
automated
3 changes: 0 additions & 3 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Update clojure lock files
run: "nix develop --command update-deps"

- name: Update babashka
run: "nix run .#babashka-unwrapped.updateScript"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
Expand Down

0 comments on commit 68b767b

Please sign in to comment.