Skip to content

Commit

Permalink
Merge pull request #9 from chrovis/fix/ci-lein
Browse files Browse the repository at this point in the history
  • Loading branch information
federkasten authored Jan 9, 2025
2 parents 2404c20 + 4f8187c commit 92b3423
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
format:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
Expand All @@ -13,6 +13,10 @@ jobs:
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:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
id : master_base_sha
if : github.ref == 'refs/heads/master'
run: echo "::set-output name=base_sha::${{ github.event.before }}"
- uses: xcoo/[email protected].10
- uses: xcoo/[email protected].12
with:
linters: "[\"clj-kondo\" \"kibit\" \"eastwood\"]"
github_token: ${{ secrets.GITHUB_TOKEN }}
runner: ":leiningen"
base_sha: ${{ github.event.pull_request.base.sha||steps.master_base_sha.outputs.base_sha }}
eastwood_linters: "[:all]"
linter_options: "{}"
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'adopt'
architecture: x64
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
lein: latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 92b3423

Please sign in to comment.