Add Eliud's eggs exercise (#694) #618
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
name: test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | |
with: | |
path: main | |
- name: Checkout test runner | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | |
with: | |
repository: exercism/clojure-test-runner | |
path: clojure-test-runner | |
- name: setup babashka | |
uses: turtlequeue/setup-babashka@2d4df498c7a578b4f3e906283f9af913590bdec7 | |
with: | |
babashka-version: 0.8.1 | |
- name: babashka script | |
id: bb_script | |
run: bb main/test.clj | |
# Print the output of the babashka script from the | |
# `bb_script` step | |
- name: Get the script output | |
run: echo "${{ steps.bb_script.outputs.bb_out }}" |