Skip to content

Commit 55bb0b4

Browse files
ci: Lint Clojure with reviewdog workflow
setup-clj-kondo is outdated, using node.js 12 which is no longer supported on GitHub workflows Add workflow using Lint Clojure GitHub Action, which includes reporting on pull requests via reviewdog https://github.com/marketplace/actions/clojure-lint-action
1 parent e529b5e commit 55bb0b4

File tree

2 files changed

+24
-25
lines changed

2 files changed

+24
-25
lines changed

.github/workflows/clj-kondo.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/lint-clojure.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Lint Clojure
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- 'config.edn'
8+
push:
9+
paths:
10+
- 'config.edn'
11+
branches:
12+
- main
13+
14+
jobs:
15+
clj-kondo:
16+
name: runner / clj-kondo
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/[email protected]
20+
- name: clj-kondo
21+
uses: nnichols/clojure-lint-action@v2
22+
with:
23+
github_token: ${{ secrets.github_token }}
24+
reporter: github-pr-review

0 commit comments

Comments
 (0)