Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Clojure tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# You may pin to the exact commit or the version.
uses: DeLaGuardo/setup-clojure@4b9b2f7702139e6be8ee376e8b2bef8f7f6850a4
# uses: DeLaGuardo/[email protected]
with:
# The Leiningen version to make available on the path.
# lein: # optional
# The boot-clj version to make available on the path.
# boot: # optional
# [DEPRECATED] The tools deps version to make available on the path.
# tools-deps: # optional
# Clojure CLI version to make available on the path.
# cli: # optional
# [DEPRECATED] On Windows platform, it will replace official Clojure CLI with the `deps.clj` of its specific version, `latest` can be used.
Useful for running `clojure` command from `cmd.exe`.

Check failure on line 21 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
# cmd-exe-workaround: # optional
# Babashka version to install, `latest` can be used.
# bb: # optional
# Clj-kondo version to install, `latest` can be used.
# clj-kondo: # optional
# cljfmt version to install, `latest` can be used.
# cljfmt: # optional
# cljstyle version to install, `latest` can be used.
# cljstyle: # optional
# zprint version to install, `latest` can be used.
# zprint: # optional
# To fix rate limit errors, provide `secrets.GITHUB_TOKEN` value to this field. More info: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
# github-token: # optional, default is ${{ github.token }}
# Set to `true` to fix problems related to wrongly populated tool cache
# invalidate-cache: # optional, default is false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: clojure -X:tests