Merge pull request #337 from chrovis/fix/unchecked-math-overflow #1010
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: lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name : master base sha | |
id : master_base_sha | |
if : github.ref == 'refs/heads/master' | |
run: echo "base_sha=${{ github.event.before }}" >> $GITHUB_OUTPUT | |
- uses: xcoo/[email protected] | |
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: "{:eastwood {:exclude-linters [:keyword-typos :unused-namespaces :boxed-math :reflection]}}" |