diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b3978d0..14d5598 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,11 @@ 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: @@ -21,8 +26,6 @@ jobs: - 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 @@ -30,6 +33,11 @@ jobs: 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 @@ -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 diff --git a/.github/workflows/publish-earthly.yml b/.github/workflows/publish-earthly.yml index a0bcbf3..dde42f7 100644 --- a/.github/workflows/publish-earthly.yml +++ b/.github/workflows/publish-earthly.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d008b3..b5cf891 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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