Skip to content

Run proptests only on main #7

Run proptests only on main

Run proptests only on main #7

name: Store cargo build cache
on:
push:
branches:
- main
paths:
- 'smart-contracts/**.rs'
- 'smart-contracts/**.toml'
workflow_dispatch:
jobs:
store-build-cache:
- name: Check out repository code

Check failure on line 14 in .github/workflows/cargo_build_cache.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cargo_build_cache.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Rust check
run: cargo check
working-directory: smart-contracts
- name: Store dependencies
uses: actions/cache/save@v4
with:
path: |
~/.cargo
~/go
**/target
key: ${{ runner.os }}-cargo-$GITHUB_SHA
restore-keys: ${{ runner.os }}-cargo