Add benchmark for simple transaction #92
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
# Runs linting related jobs. | |
name: lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
version: | |
name: check rust version consistency | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
profile: minimal | |
override: true | |
- name: check rust versions | |
run: ./scripts/check-rust-version.sh | |
rustfmt: | |
name: rustfmt nightly on ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install minimal Rust with rustfmt & cargo-make | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: rustfmt | |
override: true | |
- uses: davidB/rust-cargo-make@v1 | |
- name: cargo make - format | |
run: cargo make format | |
clippy: | |
name: clippy stable on ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install minimal Rust with clippy & cargo-make | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
components: clippy | |
override: true | |
- uses: davidB/rust-cargo-make@v1 | |
- name: cargo make - clippy | |
run: cargo make clippy |