diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 370bfe7..b90c0d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,3 +9,5 @@ env: jobs: format_code: uses: ./.github/workflows/ci_format_code.yml + lint_code: + uses: ./.github/workflows/ci_lint.yml diff --git a/.github/workflows/ci_lint.yml b/.github/workflows/ci_lint.yml new file mode 100644 index 0000000..066dd46 --- /dev/null +++ b/.github/workflows/ci_lint.yml @@ -0,0 +1,11 @@ +name: CI Lint +'on': + workflow_call: null +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout (GitHub) + uses: actions/checkout@v4 + - name: Cargo Clippy + run: cargo clippy --all-targets --all-features -- -Dwarnings