Skip to content

Fix inaccurate frontmatter null-safety description in AGENTS.md #21

Fix inaccurate frontmatter null-safety description in AGENTS.md

Fix inaccurate frontmatter null-safety description in AGENTS.md #21

Workflow file for this run

name: PR Checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
jobs:
Checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: jdx/mise-action@bfb9fa0b029db830a8c570757cee683df207a6c5 # v2.4.0
with:
experimental: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run checks
run: |
VAULT_PATH="$(mktemp -d)"
mkdir -p "${VAULT_PATH}/.obsidian/plugins"
env VAULT_PATH="$VAULT_PATH" \
mise run check