mirror of
https://github.com/storytold/egui.git
synced 2026-11-30 18:27:20 +01:00
Each third-party action that StepSecurity publishes a secure drop-in replacement for now uses that replacement, pinned to a commit with its version as a comment. Versions follow what we used: the newest StepSecurity release in the same major, or the closest major they publish. dtolnay/rust-toolchain refs that named a toolchain (stable, nightly, 1.76) become the replacement's `toolchain` input.
30 lines
693 B
YAML
30 lines
693 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@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
|
|
with:
|
|
egress-policy: audit
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Taplo
|
|
uses: step-security/taiki-e-install-action@76747d22a7567cc4438546a84f11bdf18e670ab8 # v2.87.32
|
|
with:
|
|
tool: taplo-cli@0.9.3
|
|
|
|
- name: Check TOML formatting
|
|
run: |
|
|
taplo fmt --check
|