Skip to content

Commit

Permalink
fix: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Oct 4, 2023
1 parent 0748c5a commit d2e2ad0
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:

# We are excluding cat-dat-service and event-db because we are already running it with Earthly
- name: Build and archive tests
run: |
run: |
cargo nextest archive \
--workspace \
--exclude vitup \
Expand All @@ -138,6 +138,10 @@ jobs:
--exclude vit-servicing-station-server \
--exclude vit-servicing-station-tests \
--exclude vit-servicing-station-lib \
--exclude vit-servicing-station-cli-f10 \
--exclude vit-servicing-station-server-f10 \
--exclude vit-servicing-station-tests-f10 \
--exclude vit-servicing-station-lib-f10 \
--exclude cat-data-service \
--exclude event-db \
--exclude wallet-uniffi \
Expand Down Expand Up @@ -211,6 +215,8 @@ jobs:
path: |
target/debug/vit-servicing-station-cli
target/debug/vit-servicing-station-server
target/debug/vit-servicing-station-cli-f10
target/debug/vit-servicing-station-server-f10
target/debug/jcli
target/debug/jormungandr
target/debug/explorer
Expand All @@ -221,7 +227,7 @@ jobs:

- name: Install cargo-make
run: cargo install --force cargo-make

- name: Install refinery
run: cargo install refinery_cli

Expand All @@ -232,7 +238,7 @@ jobs:
- name: Build external dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run:
cargo build -p vit-servicing-station-cli -p vit-servicing-station-server -p jcli -p jormungandr -p explorer
cargo build -p vit-servicing-station-cli -p vit-servicing-station-server -p vit-servicing-station-cli-f10 -p vit-servicing-station-server-f10 -p jcli -p jormungandr -p explorer

- name: Setup Event DB
env:
Expand All @@ -242,7 +248,7 @@ jobs:
# We are excluding cat-dat-service and event-db because we are already running it with Earthly
- name: Build and archive tests
if: steps.archive-cache.outputs.cache-hit != 'true'
run: |
run: |
cargo nextest archive \
--workspace \
--exclude vitup \
Expand All @@ -253,6 +259,10 @@ jobs:
--exclude vit-servicing-station-server \
--exclude vit-servicing-station-tests \
--exclude vit-servicing-station-lib \
--exclude vit-servicing-station-cli-f10 \
--exclude vit-servicing-station-server-f10 \
--exclude vit-servicing-station-tests-f10 \
--exclude vit-servicing-station-lib-f10 \
--exclude cat-data-service \
--exclude event-db \
--exclude wallet-uniffi \
Expand Down Expand Up @@ -388,6 +398,6 @@ jobs:
with:
toolchain: ${{env.RUST_LATEST_STABLE_VERSION}}
components: rustfmt, clippy

- run: rustup component add clippy
- run: scripts/check-fmt.sh

0 comments on commit d2e2ad0

Please sign in to comment.