Skip to content

ci: Didnt cache everything that should have been cached #18

ci: Didnt cache everything that should have been cached

ci: Didnt cache everything that should have been cached #18

Workflow file for this run

name: Build
on:
push:
paths:
- '**.rs'
- '.github/workflows/**.yml'
pull_request:
paths:
- '**.rs'
- '.github/workflows/**.yml'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- --lib
- --bins
- --examples
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path:
- target/

Check failure on line 33 in .github/workflows/cargo-build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/cargo-build.yml (Line: 33, Col: 11): A sequence was not expected
- $CARGO_HOME/.crates.toml
- $CARGO_HOME/.crates2.json
- $CARGO_HOME/bin/
- $CARGO_HOME/registry/index/
- $CARGO_HOME/registry/cache/
- $CARGO_HOME/git/db/
key: cargo-build-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cargo-build-${{ hashFiles('Cargo.lock') }}
cargo-build-
cargo-
- name: build
run: cargo build --release ${{ matrix.target }} --keep-going --verbose
- name: Debug $CARGO_HOME
run: echo $CARGO_HOME