[function-grep] #616
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
on: | |
push: | |
workflow_dispatch: | |
name: Clippy check + test for the lib | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
rustup toolchain install nightly | |
rustup +nightly component add clippy | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
toolchain: nightly | |
args: -p git_function_history | |
# --features c_lang | |
# test-clang: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: setup rust | |
# uses: dtolnay/rust-toolchain@stable | |
# - name: test | |
# run: | | |
# cargo test -p git_function_history --features c_lang -- --nocapture | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: test | |
run: | | |
cargo test -p git_function_history -- --nocapture |