Skip to content

chore: pin GitHub Actions to commit SHAs #190

chore: pin GitHub Actions to commit SHAs

chore: pin GitHub Actions to commit SHAs #190

Workflow file for this run

name: codestyle
on:
merge_group:
pull_request:
env:
SCCACHE_GHA_ENABLED: 'true'
RUSTC_WRAPPER: 'sccache'
jobs:
lint:
name: lint:required
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup PNPM
uses: dfinity/ci-tools/actions/setup-pnpm@afeee4fbdc0683a88ec5a74ed7f59a2ce0e833ad # main
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
- name: Check JS Codestyle
run: pnpm codestyle:check
- name: Check Rust Linting
run: cargo clippy --all-targets --all-features
- name: Check Rust formatting
run: cargo fmt -- --check