Skip to content

Commit 0c36db7

Browse files
committed
ci
1 parent 2156456 commit 0c36db7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/_build-rust.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# More info: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iduses
33

44
# Common Rust CI setup that checkout the repo, installs the common toolchain
5-
# and set's up the cargo cache.
5+
# and set's up the cargo cache. It builds, tests, and lints the code.
66

77
on:
88
workflow_call:
@@ -17,11 +17,6 @@ on:
1717
required: false
1818
default: x86_64-unknown-linux-gnu
1919
description: Rust target
20-
workspace-member:
21-
type: string
22-
required: false
23-
default: "."
24-
description: Workspace member where actions should be done.
2520
do-style-check:
2621
type: boolean
2722
required: false
@@ -60,9 +55,6 @@ jobs:
6055
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
6156
restore-keys: ${{ runner.os }}-cargo-
6257
- run: cargo version
63-
- name: Select Workspace Member
64-
run: |
65-
cd ${{ inputs.workspace-member }}
6658
- name: Code Formatting
6759
if: ${{ inputs.do-style-check }}
6860
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)