Skip to content

Commit

Permalink
AVRO-3175 Workaround actions-rs/cargo#86
Browse files Browse the repository at this point in the history
Use --manifest-path to specify the path to Cargo.yaml
  • Loading branch information
martin-g committed Jul 8, 2021
1 parent f4c954c commit e2c8c1b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test-lang-rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,27 @@ jobs:
override: true
components: rustfmt

- name: Print PWD
run: pwd

- name: Rust Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
args: --manifest-path lang/rust/Cargo.toml --all -- --check

- name: Rust Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --all-targets
args: --manifest-path lang/rust/Cargo.toml --all-features --all-targets

- name: Rust Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets
args: --manifest-path lang/rust/Cargo.toml --all-features --all-targets

# because of https://github.com/rust-lang/cargo/issues/6669
- name: Rust Test docs
uses: actions-rs/cargo@v1
with:
command: test
args: --doc
args: --manifest-path lang/rust/Cargo.toml --doc

0 comments on commit e2c8c1b

Please sign in to comment.