Skip to content

Commit

Permalink
Use the rust cache all around
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Jun 18, 2024
1 parent 32a113d commit 47404cc
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/soroban-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: ./.github/actions/setup-go
with:
go-version: ${{ matrix.go }}
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: make build-libpreflight
- run: go test -race -cover -timeout 25m -v ./cmd/soroban-rpc/...
Expand Down Expand Up @@ -78,12 +79,11 @@ jobs:
sudo apt-get install -y gcc-10-aarch64-linux-gnu
echo 'CC=aarch64-linux-gnu-gcc-10' >> $GITHUB_ENV
- uses: stellar/actions/rust-cache@main
- run: |
rustup target add ${{ matrix.rust_target }}
rustup update
- name: Build libpreflight
run: make build-libpreflight
- run: make build-libpreflight
env:
CARGO_BUILD_TARGET: ${{ matrix.rust_target }}

Expand Down Expand Up @@ -132,8 +132,6 @@ jobs:
docker pull "$PROTOCOL_${{ matrix.protocol-version }}_CORE_DOCKER_IMG"
echo SOROBAN_RPC_INTEGRATION_TESTS_DOCKER_IMG="$PROTOCOL_${{ matrix.protocol-version }}_CORE_DOCKER_IMG" >> $GITHUB_ENV
- uses: stellar/actions/rust-cache@main

- name: Install Captive Core
shell: bash
run: |
Expand Down Expand Up @@ -175,11 +173,9 @@ jobs:
echo "Docker Compose Version:"
docker-compose version
- uses: stellar/actions/rust-cache@main
- run: rustup update

- name: Build libpreflight
shell: bash
run: make build-libpreflight
- run: make build-libpreflight

- name: Run Soroban RPC Integration Tests
run: |
Expand Down

0 comments on commit 47404cc

Please sign in to comment.