kanidm/.github/workflows/clippy.yml
dependabot[bot] dd973eb0ec
Bump actions/checkout from 2 to 3 (#898)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:33:53 +10:00

31 lines
649 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
- 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