chore(deps): bump axios from 0.27.2 to 1.6.0 in /web3 #332
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: Web3 Rust | |
on: | |
push: | |
paths: | |
- 'web3/**' | |
pull_request: | |
paths: | |
- 'web3/**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: web3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust components | |
run: | | |
cargo fmt --version || rustup component add rustfmt | |
cargo clippy --version || rustup component add clippy | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-web3-indexer-${{ hashFiles('Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo-web3-indexer | |
- name: Build | |
run: cargo build --verbose | |
- name: Check format | |
run: cargo fmt -- --check | |
- name: Cargo clippy check | |
env: | |
RUSTFLAGS: -D warnings | |
run: cargo clippy | |
- name: Diff | |
run: git diff --exit-code |