Skip to content

hh task definitions, native hh config for deployments, readme #2985

hh task definitions, native hh config for deployments, readme

hh task definitions, native hh config for deployments, readme #2985

Workflow file for this run

name: Rust Lint
on:
push:
pull_request:
merge_group:
jobs:
detect-changes:
uses: ./.github/workflows/check_diff.yaml
with:
pattern: ^crates/\|^test/rust/\|^Cargo\.lock$\|^Cargo\.toml$\|^rustfmt\.toml$\|^\.github/workflows/rust_lint\.yml$
lint:
name: rust lint
runs-on: ubuntu-latest
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: lint
run: make lint-rust