Files
egui/.github/workflows/taplo.yml
Dylan M. Taylor 0965b68bdc ci: lock workflow actions through an actions.lock lockfile
Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
2026-11-12 10:04:46 -05:00

30 lines
611 B
YAML

# Checks that all TOML files are formatted with taplo.
name: Taplo
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize]
jobs:
taplo:
runs-on: ubuntu-latest
steps:
- name: Harden runner
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v4.4.0
- name: Install Taplo
uses: step-security/taiki-e-install-action@v2.87.32
with:
tool: taplo-cli@0.9.3
- name: Check TOML formatting
run: |
taplo fmt --check