Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
Add a test workflow, WIP!
  • Loading branch information
verberktstan committed Jan 22, 2024
1 parent 8095ab8 commit ca984e7
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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`.

# 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

0 comments on commit ca984e7

Please sign in to comment.