1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-23 09:16:44 +02:00

Add a cargo workspace containing both crates (#321)

* Move Cargo.toml for exercises to exercises directory.

* Create a workspace with both exercises and i18n-helpers.

* Build in CI as well as testing.

* Binaries must have a main function.

* No need for workspaces configuration for caching anymore.
This commit is contained in:
Andrew Walbran
2023-02-02 16:14:34 +00:00
committed by GitHub
parent a07bfa108f
commit 20f02db5f5
9 changed files with 1127 additions and 2132 deletions

View File

@ -34,13 +34,12 @@ jobs:
- name: Setup Rust cache
uses: ./.github/workflows/setup-rust-cache
- name: Build Rust code
run: cargo build
- name: Test Rust code
run: cargo test
- name: Test i18n-helpers
run: cargo test
working-directory: i18n-helpers
i18n-helpers:
runs-on: ubuntu-latest
steps:

View File

@ -7,7 +7,3 @@ runs:
steps:
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
. -> target
i18n-helpers -> target