Skip to content

chore(ci): only run macos on main (#10767) #6

chore(ci): only run macos on main (#10767)

chore(ci): only run macos on main (#10767) #6

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@ab3728c7ba6948b9b429627f4d55a68842b27f18 # v2.50.3
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