Skip to content

Commit

Permalink
Add Clang to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
masihyeganeh committed Apr 25, 2024
1 parent 8893595 commit 41df39f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/contract-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
~/.cargo/git/db/
contract/target/
key: ${{ runner.os }}-cargo-wasm-cache-${{ hashFiles('**/Cargo.lock') }}
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Lint contract
run: make lint-contract
- name: Build contract
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/relayer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ jobs:
path: ${{ github.workspace }}/coreumbridge-xrpl/contract/target/
key: ${{ runner.os }}-wasm-cache-${{ hashFiles('**/Cargo.lock') }}
if: ${{ matrix.build-contract }}
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Set up docker cache
uses: satackey/[email protected]
if: ${{ matrix.docker-cache }}
Expand Down

0 comments on commit 41df39f

Please sign in to comment.