Utilize the graph code in MSAL #133
Workflow file for this run
This file contains 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: Clippy | |
# Trigger the workflow on push or pull request | |
"on": | |
pull_request: | |
branches: | |
- main | |
- stable-0.1.x | |
- stable-0.2.x | |
- stable-0.3.x | |
- stable-0.4.x | |
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 \ | |
libtss2-dev \ | |
libcap-dev \ | |
libtalloc-dev \ | |
libtevent-dev \ | |
libldb-dev \ | |
libdhash-dev \ | |
libkrb5-dev \ | |
libpcre2-dev \ | |
libclang-13-dev \ | |
autoconf \ | |
gettext | |
- name: "Fetch submodules" | |
run: git submodule init && git submodule update | |
- name: "Run clippy" | |
run: cargo clippy --all-features | |
continue-on-error: true |