Skip to content

[PM-4269] Use rustls on non-wasm platforms #2718

[PM-4269] Use rustls on non-wasm platforms

[PM-4269] Use rustls on non-wasm platforms #2718

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
style:
name: Check Style
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install rust
uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 # stable
with:
toolchain: stable
- name: Cache cargo registry
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- name: Cargo fmt
run: cargo fmt --check
- name: Set up Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
cache: "npm"
cache-dependency-path: "package-lock.json"
node-version: "16"
- name: NPM setup
run: npm ci
- name: Node Lint
run: npm run lint
- name: Verify rust documentation links
run: cargo doc --no-deps --features internal
env:
RUSTDOCFLAGS: "-D warnings"
- name: Cargo clippy
run: cargo clippy --all-features --tests
env:
RUSTFLAGS: "-D warnings"