ci: Upgrade clj-lint-action to 1.1.12 #15
Workflow file for this run
This file contains hidden or 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: format | |
| on: [push, pull_request] | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| architecture: x64 | |
| - name: Setup Clojure | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| lein: latest | |
| - name: Cache m2 repository | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }} | |
| restore-keys: | | |
| ${{ runner.os }}-m2- | |
| - name: Install dependencies | |
| run: lein deps | |
| - name: Run cljfmt | |
| run: lein cljfmt check |