Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed Dec 20, 2023
1 parent b98038e commit 75c1d55
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,30 @@ jobs:
name: Build
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: build
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler build-essential
protoc --version
cargo build --all-features
fmt:
name: Rustfmt
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
Expand All @@ -44,13 +52,16 @@ jobs:
name: Clippy
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Linting
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler build-essential
protoc --version
cargo clippy --all-features -- -D warnings
4 changes: 2 additions & 2 deletions .github/workflows/publish-earthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
build:
build-earthly:
runs-on: zondax-runners
container:
image: earthly/earthly:v0.7.21
image: earthly/earthly:v0.7.23
env:
# Internal buildkit link reachable from internal runners
EARTHLY_BUILDKIT_HOST: tcp://buildkit-builder-runners-earthly-buildkit:8372
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ jobs:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential pkg-config libssl-dev
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler build-essential pkg-config libssl-dev
make download-checksum
protoc --version
# NEED NEW TESTNET TO UPDATE VECTOR TESTS
Expand Down

0 comments on commit 75c1d55

Please sign in to comment.