Skip to content

turtlequeue/setup-babashka

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-babashka

This action sets up Babashka environment for using in GitHub Actions. So you can use a clojure interpreter in your CI environment.

Usage

name: Simple example of using the babashka action

on: [push]

jobs:
  simple:
    runs-on: ubuntu-latest
    steps:
      - name: Setup Babashka
        uses: turtlequeue/[email protected]
        with:
          babashka-version: 1.3.189

      - name: Check bb runs
        run: bb --version

Rationale

You may be using this already:

$ bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install)

That's great! And this is what this action uses under the hood.

However this action is useful still for:

  • supporting more platforms (windows)
  • pinning the babashka version
  • using the github api to cache between runs
  • (advanced) using a CI build by specifying a babashka-url (see below)

License

Copyright © 2022-2024 Turtlequeue Ltd

Contributors

Distributed under the EPL License. See LICENSE.

About

github actions for installing borkdude/babashka

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors