mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Add taplo-fmt CI step (#8095)
This commit is contained in:
25
.github/workflows/taplo.yml
vendored
Normal file
25
.github/workflows/taplo.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Taplo
|
||||
uses: taiki-e/install-action@v2.48.7
|
||||
with:
|
||||
tool: taplo-cli@0.9.3
|
||||
|
||||
- name: Check TOML formatting
|
||||
run: |
|
||||
taplo fmt --check
|
||||
Reference in New Issue
Block a user