Demo improvements #9
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: Linter | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Babashka | |
uses: DeLaGuardo/[email protected] | |
with: | |
bb: latest | |
- name: Cache kondo directory | |
uses: actions/cache@v2 | |
with: | |
path: ~/.clj-kondo/.cache | |
key: ${{ runner.os }}-kondo | |
restore-keys: ${{ runner.os }}-kondo | |
- name: Lint dependencies | |
run: bb lint-deps | |
- name: Lint project files | |
run: bb lint --config '{:output {:pattern "::{{level}} file={{filename}},line={{row}},col={{col}}::{{message}}"}}' |