kanidm/.github/workflows/clippy.yml
James Hodgkinson b249747e55
.deb packaging config and scripting (#920)
* working on debian builds again
* github actions tweaks
* fixed a ref in the build script
* updating makefile targets to include build profile env
* updates to docs and makefiles
2022-07-20 17:21:40 +10:00

32 lines
672 B
YAML

name: Clippy
# Trigger the workflow on push or pull request
"on": [push, pull_request]
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update package manager
run: sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get install -y \
libpam0g-dev \
libudev-dev \
libssl-dev \
libsqlite3-dev \
pkg-config
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: "Run clippy (ignores errors, this is just a check)"
run: cargo clippy --no-deps
continue-on-error: true