Skip to content

chore(deps): bump axios from 0.21.4 to 1.6.0 in /typescript/contract-metrics #1870

chore(deps): bump axios from 0.21.4 to 1.6.0 in /typescript/contract-metrics

chore(deps): bump axios from 0.21.4 to 1.6.0 in /typescript/contract-metrics #1870

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
- name: Build
run: cd rust && cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
- name: Run tests
run: cd rust && cargo test --verbose
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
- name: Rustfmt
run: cd rust && cargo fmt -- --check
- name: Clippy
run: cd rust && cargo clippy -- -D warnings