Merge remote-tracking branch 'upstream/main' #1
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: "Quality Checks" | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check-code-quality: | |
name: "Check Code Quality" | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "🚀 Job automatically triggered by ${{ github.event_name }}" | |
- run: echo "🐧 Job running on ${{ runner.os }} server" | |
- run: echo "🐙 Using ${{ github.ref }} branch from ${{ github.repository }} repository" | |
- name: "Checkout code" | |
uses: actions/checkout@v4 | |
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner." | |
- name: "Install tools" | |
uses: DeLaGuardo/[email protected] | |
with: | |
cljstyle: 0.16.626 | |
clj-kondo: 2024.08.29 | |
- name: "Lint Clojure" | |
run: clj-kondo --lint deps.edn --config '{:output {:pattern "::{{level}} file={{filename}},line={{row}},col={{col}}::{{message}}"}}' | |
- name: "Check Clojure Style" | |
run: cljstyle check --report | |
- run: echo "🎨 style and format of Clojure code checked" | |
- run: echo "🍏 Job status is ${{ job.status }}." |