-
Notifications
You must be signed in to change notification settings - Fork 79
45 lines (38 loc) · 1.15 KB
/
storage_layout.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
on:
workflow_call:
inputs:
package_folder:
required: true
type: string
name:
required: true
type: string
jobs:
check:
strategy:
fail-fast: true
name: Storage layout inspection
runs-on: ubuntu-latest
steps:
- name: Set commit status as pending
uses: myrotvorets/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: pending
context: Storage Layout ${{ inputs.name }}
- uses: actions/checkout@v4
- name: Install node deps and founry
uses: ./.github/actions/setup_deps
- name: Cache build
uses: ./.github/actions/cache_foundry_build
with:
package_folder: ${{ inputs.package_folder }}
- name: "Inspect Storage Layout"
run: cd ${{ inputs.package_folder}} && pnpm run storage-inspect:check
- name: Set final commit status
uses: myrotvorets/[email protected]
if: always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
context: Storage Layout ${{ inputs.name }}