Skip to content

Llama Cpp Rs Check

Llama Cpp Rs Check #14

name: Llama Cpp Rs Check
on:
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
check:

Check failure on line 16 in .github/workflows/llama-cpp-rs-check.yml

View workflow run for this annotation

GitHub Actions / Llama Cpp Rs Check

Invalid workflow file

The workflow is not valid. .github/workflows/llama-cpp-rs-check.yml (Line: 16, Col: 3): The workflow must contain at least one job with no dependencies.
name: Run Tests on LLama Cpp Rs
runs-on: ${{ vars.RUNNER }}
defaults:
run:
working-directory: ./llama-cpp-rs
needs:
- changes
if: ${{ needs.changes.outputs.llama-cpp-rs == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup protoc
uses: arduino/setup-protoc@v2.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Compile Deps
env:
DEBIAN_FRONTEND: noninteractive
run:
sudo apt-get update && sudo apt-get install -y build-essential curl libssl-dev libclang-dev pkg-config cmake git
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Clippy
run: cargo clippy
- name: Clippy
run: cargo fmt