Skip to content

chore: use dprint (#362) #1

chore: use dprint (#362)

chore: use dprint (#362) #1

Workflow file for this run

name: Save dprint plugin cache
permissions: {}
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "dprint.json"
- ".github/workflows/dprint.yml"
jobs:
cache:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: taiki-e/install-action@86c23eed46c17b80677df6d8151545ce3e236c61 # v2.50.7
with:
tool: dprint
- run: dprint check
- name: Save dprint plugin cache
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
key: dprint-${{ hashFiles('dprint.json') }}
path: ~/.cache/dprint