Skip to content

Commit

Permalink
Create cache_trunk.yml (#73)
Browse files Browse the repository at this point in the history
Create cache_trunk.yml so the action will use the cache
  • Loading branch information
Chunnyluny authored Sep 10, 2023
2 parents e7ef3ab + 1ecabf4 commit 621008b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cache_trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches: [master]
paths: [.trunk/trunk.yaml]

permissions: read-all

jobs:
cache_trunk:
name: Cache Trunk
runs-on: ubuntu-latest
permissions:
actions: write

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
check-mode: populate_cache_only

0 comments on commit 621008b

Please sign in to comment.