Skip to content

ci: Add cargo cache

ci: Add cargo cache #1

Workflow file for this run

name: CI Lint
'on':
workflow_call: null
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- uses: actions/cache@v4
with:

Check failure on line 11 in .github/workflows/ci_lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci_lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Cargo Clippy
uses: devcontainers/[email protected]
with:
cacheFrom: ghcr.io/vorausrobotik/voraus-ros-bridge-dev
runCmd: cargo clippy --all-targets --all-features -- -Dwarnings
push: never