Add rust toolchain to cache key
All checks were successful
Continuous integration / Build and test (push) Successful in 36s
All checks were successful
Continuous integration / Build and test (push) Successful in 36s
This commit is contained in:
parent
db797623ea
commit
6d210f6fbd
2 changed files with 4 additions and 3 deletions
|
@ -12,6 +12,7 @@ jobs:
|
|||
- name: Repo checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Rust toolchain
|
||||
id: toolchain
|
||||
uses: https://github.com/dtolnay/rust-toolchain@1.76.0
|
||||
- name: Cache Cargo dependencies
|
||||
uses: actions/cache@v4
|
||||
|
@ -22,8 +23,8 @@ jobs:
|
|||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-toolchain-${{ steps.toolchain.outputs.cachekey }}
|
||||
- name: Build
|
||||
run: cargo build --all-features
|
||||
- name: Test
|
||||
run: cargo test --all-features
|
||||
run: cargo test --all-features
|
|
@ -1,5 +1,5 @@
|
|||
# picoKontroller
|
||||
[![ci/cd](https://git.ghoscht.com/ghoscht/picoKontroller/badges/workflows/build.yml/badge.svg?style=for-the-badge)](https://git.ghoscht.com/ghoscht/picoKontroller/actions?workflow=build.yml)
|
||||
[![ci/cd](https://git.ghoscht.com/ghoscht/picoKontroller/badges/workflows/ci.yml/badge.svg?style=for-the-badge)](https://git.ghoscht.com/ghoscht/picoKontroller/actions?workflow=ci.yml)
|
||||
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg?style=for-the-badge)](https://www.gnu.org/licenses/gpl-3.0)
|
||||
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
|
||||
|
||||
|
|
Loading…
Reference in a new issue