Skip to content

Commit 2aaec49

Browse files
ci: check *.edn files if config.edn or cljfmt.edn change
- add echo commands to document the workflow major steps
1 parent 84e85ed commit 2aaec49

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed
Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,38 @@
11
---
2-
name: Lint Clojure
2+
name: Lint Clojure LSP
33
on:
44
workflow_dispatch:
55
pull_request:
66
paths:
77
- 'config.edn'
8+
- 'cljfmt.edn'
89
push:
910
paths:
1011
- 'config.edn'
12+
- 'cljfmt.edn'
1113
branches:
1214
- main
1315

1416
jobs:
15-
clj-kondo:
16-
name: runner / clj-kondo
17+
lint-lsp-config:
18+
name: Lint LSP Config
1719
runs-on: ubuntu-latest
1820
steps:
19-
- uses: actions/[email protected]
21+
- run: echo "πŸš€ Job automatically triggered by ${{ github.event_name }}"
22+
- run: echo "🐧 Job running on ${{ runner.os }} server"
23+
- run: echo "πŸ™ Using ${{ github.ref }} branch from ${{ github.repository }} repository"
24+
25+
- name: "Checkout code"
26+
uses: actions/[email protected]
27+
- run: echo "πŸ™ ${{ github.repository }} repository was cloned to the runner."
28+
2029
- name: clj-kondo
2130
uses: nnichols/clojure-lint-action@v2
2231
with:
2332
github_token: ${{ secrets.github_token }}
2433
reporter: github-pr-review
34+
pattern: '*.edn'
35+
36+
- run: echo "🎨 style and format of Clojure code checked"
37+
38+
- run: echo "🍏 Job status is ${{ job.status }}."

0 commit comments

Comments
Β (0)