Update Hermes SDK with retryable components #844
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/lint.yaml | |
- cairo-contracts/** | |
- light-client/** | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
- justfile | |
- README.md | |
push: | |
tags: | |
- v[0-9]+.* | |
branches: | |
- "release/*" | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }} | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_PROFILE_DEV_DEBUG: 1 | |
CARGO_PROFILE_RELEASE_DEBUG: 1 | |
CARGO_NET_RETRY: 10 | |
RUSTUP_MAX_RETRIES: 10 | |
jobs: | |
lint: | |
name: Check Styles | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: ibc-starknet | |
extraPullNames: hermes-sdk,cosmos-nix | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Install Scarb | |
uses: software-mansion/setup-scarb@v1 | |
with: | |
tool-versions: cairo-libs/.tool-versions | |
scarb-lock: cairo-libs/Scarb.lock | |
- name: Format Toml | |
run: | | |
nix shell .#taplo -c \ | |
taplo fmt --check | |
- name: Format Nix | |
run: | | |
nix shell .#nixfmt -c \ | |
nixfmt --check . | |
- name: Format Cairo Contracts | |
working-directory: ./cairo-contracts | |
run: | | |
scarb fmt -w --check | |
- name: Format Cairo Libraries | |
working-directory: ./cairo-libs | |
run: | | |
scarb fmt -w --check | |
- name: Format Light Client | |
working-directory: ./light-client | |
run: | | |
nix shell ..#rust-nightly -c \ | |
cargo fmt --all -- --check | |
- name: Format Relayer | |
working-directory: ./relayer | |
run: | | |
nix shell ..#rust-nightly -c \ | |
cargo fmt --all -- --check |