yacht: sync (#633) #469
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@83e81711f784e0dcb593e53b642fc9850067f234 | |
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 }}" |