-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix path for github actions after rust workspace update (#565)
* fix path for github actions after rust workspace update * fix caching for rust
- Loading branch information
Showing
6 changed files
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,8 +33,6 @@ jobs: | |
|
||
- uses: Swatinem/[email protected] | ||
if: ${{ matrix.lang == 'rust'}} | ||
with: | ||
workspaces: ./rust -> target | ||
|
||
- uses: actions/setup-go@v5 | ||
if: ${{ matrix.lang == 'go'}} | ||
|
@@ -86,7 +84,7 @@ jobs: | |
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
python-version: 3.x | ||
cache: pip | ||
|
||
- name: Install zip | ||
|
@@ -237,7 +235,7 @@ jobs: | |
- name: Check help output | ||
run: | | ||
echo "============================ Python-pyo3 Vault CLI ===========================" | ||
vault --help | ||
vault -h | ||
echo "------------------------------------------------------------------------------" | ||
echo "================================ Rust Vault CLI ==============================" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,18 @@ on: | |
paths: | ||
- ".github/workflows/rust.yml" | ||
- "**.rs" | ||
- "rust/Cargo.lock" | ||
- "rust/Cargo.toml" | ||
- "python-pyo3/Cargo.lock" | ||
- "Cargo.lock" | ||
- "Cargo.toml" | ||
- "python-pyo3/Cargo.toml" | ||
- "rust/Cargo.toml" | ||
pull_request: | ||
paths: | ||
- ".github/workflows/rust.yml" | ||
- "**.rs" | ||
- "rust/Cargo.lock" | ||
- "rust/Cargo.toml" | ||
- "python-pyo3/Cargo.lock" | ||
- "Cargo.lock" | ||
- "Cargo.toml" | ||
- "python-pyo3/Cargo.toml" | ||
- "rust/Cargo.toml" | ||
|
||
# Cancel previous runs for PRs but not pushes to main | ||
concurrency: | ||
|
@@ -47,21 +47,6 @@ jobs: | |
components: clippy | ||
|
||
- uses: Swatinem/[email protected] | ||
with: | ||
workspaces: ./rust -> target | ||
|
||
- name: Set up cargo cache | ||
uses: actions/cache@v4 | ||
continue-on-error: false | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ runner.os }}-cargo- | ||
|
||
- name: Build | ||
run: cargo build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters