Skip to content

feat(fisherman): 🌎 batch file deletions #4558

feat(fisherman): 🌎 batch file deletions

feat(fisherman): 🌎 batch file deletions #4558

Workflow file for this run

name: Lint and Format
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
inputs:
pull_request:
description: set to pull_request number to execute on external pr
required: false
jobs:
check-rust-fmt:
name: "Check format with rustfmt"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
- name: Rustfmt Check
run: cargo fmt --all -- --check
check-rust-lint:
name: "Check lint with clippy"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install libpq-dev
run: sudo apt-get update && sudo apt-get install -y libpq-dev
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy --features try-runtime,runtime-benchmarks --locked
env:
RUSTFLAGS: -D warnings
check-ts-fmt:
name: "Check format with biome"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflow-templates/setup-pnpm
- run: pnpm install
- run: pnpm fmt
check-ts-lint:
name: "Check lint with biome"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflow-templates/setup-pnpm
- run: pnpm install
- run: pnpm lint
typecheck-ts:
name: "Typecheck with tsc"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflow-templates/setup-pnpm
- run: pnpm install
- run: |
cd test
pnpm typecheck