mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
* fixing up error handling for prctl calls * minor clippy lintypoos * making clippy happier * clippizing a test * more clippy-calming * adding tpm-udev to ubuntu flows for testing * rebuilt wasm * moving from rg to grep because someone doesn't like nice things * such clippy like wow * clippy config to the rescue
40 lines
894 B
YAML
40 lines
894 B
YAML
---
|
|
name: Clippy
|
|
|
|
# Trigger the workflow on push or pull request
|
|
"on":
|
|
push:
|
|
branches-ignore:
|
|
- master
|
|
pull_request:
|
|
|
|
env:
|
|
SCCACHE_GHA_ENABLED: "true"
|
|
RUSTC_WRAPPER: "sccache"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
clippy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup sccache
|
|
uses: mozilla-actions/sccache-action@v0.0.4
|
|
with:
|
|
version: "v0.4.2"
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update && \
|
|
sudo apt-get install -y \
|
|
libpam0g-dev \
|
|
libudev-dev \
|
|
libssl-dev \
|
|
pkg-config \
|
|
tpm-udev
|
|
|
|
- name: "Run clippy (ignores errors, this is just a check)"
|
|
run: cargo clippy --all-features --all-targets
|
|
continue-on-error: true
|