ci(EN-2854): migrate to doctolib/actions/checkout last version #166
Workflow file for this run
This file contains hidden or 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 check | |
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [community, enterprise] | |
steps: | |
- uses: doctolib/actions/checkout@429fae9c3fefa82b9a7fc0223edfaecc7234c787 # checkout-v0.1.0 | |
- name: Install deps | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y --no-install-recommends libclang-dev | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # v1 | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Clippy check | |
shell: bash | |
run: | | |
# shellcheck disable=SC2046 | |
cargo clippy --color always --features=${{ matrix.version }} |