Skip to content

feat: enhance Rust snippets #247

feat: enhance Rust snippets

feat: enhance Rust snippets #247

Workflow file for this run

name: Checks snippets syntax
on:
pull_request:
paths:
- "snippets/**"
jobs:
check-snippets:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Check if snippets are formated correctly
uses: int128/comment-action@v1
with:
run: npx tsx utils/checkSnippetFormatting.ts # Run the script located in the utils/ folder
post-on-failure: |
## :x: Snippet Format Error
${run.output}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy