mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 20:44:23 +01:00
Merge 'github: Cache Rust build dependencies' from Pekka Enberg
Let's use a Github action to cache build dependencies in hopes to reduce disk utilization. Closes #280
This commit is contained in:
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check formatting
|
||||
run: cargo fmt --check
|
||||
|
||||
build-native:
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -24,6 +25,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
Reference in New Issue
Block a user