Skip to content

Support config in an EDN file #32

Support config in an EDN file

Support config in an EDN file #32

Workflow file for this run

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/setup-clojure@12.3
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/checkout@v4.1.0
- uses: DeLaGuardo/clojure-lint-action@master
with:
check-name: Run clj-kondo
clj-kondo-args: >-
--lint
src/marginalia
test
github_token: ${{ secrets.GITHUB_TOKEN }}