Skip to content

Commit

Permalink
Replace install-action to be portable to Dockerfile.ci
Browse files Browse the repository at this point in the history
Signed-off-by: s8sato <[email protected]>
  • Loading branch information
s8sato committed Apr 27, 2022
1 parent 2e22b2e commit 5f33a69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Add component
run: rustup component add llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
run: cargo install cargo-llvm-cov

- name: Generate code coverage
run: mold --run cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Add component
run: rustup component add llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
run: cargo install cargo-llvm-cov

- name: Generate code coverage
run: mold --run cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Add component
run: rustup component add llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
run: cargo install cargo-llvm-cov

- name: Generate code coverage
run: mold --run cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN rustup component add llvm-tools-preview clippy; \
rustup target add wasm32-unknown-unknown; \
rustup install --profile default nightly-2022-04-20; \
rustup component add rust-src --toolchain nightly-2022-04-20-x86_64-unknown-linux-gnu; \
cargo install cargo-lints cargo-nono webassembly-test-runner
cargo install cargo-lints cargo-nono webassembly-test-runner cargo-llvm-cov

RUN curl -fsSL https://get.docker.com -o get-docker.sh; \
chmod +x get-docker.sh; \
Expand Down

0 comments on commit 5f33a69

Please sign in to comment.