Support config in an EDN file #33
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-clj: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
lein: 2.11.1 | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: "m2-${{ hashFiles('project.clj') }}" | |
- name: Run tests | |
run: lein test | |
kondo: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/[email protected] | |
- uses: DeLaGuardo/clojure-lint-action@master | |
with: | |
check-name: Run clj-kondo | |
clj-kondo-args: >- | |
--lint | |
src/marginalia | |
test | |
github_token: ${{ secrets.GITHUB_TOKEN }} |