-
Notifications
You must be signed in to change notification settings - Fork 0
78 lines (69 loc) · 2.01 KB
/
test.yaml
File metadata and controls
78 lines (69 loc) · 2.01 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Test
on: pull_request
permissions: {}
jobs:
path-filter:
timeout-minutes: 10
outputs:
action: ${{ steps.changes.outputs.action }}
renovate: ${{ steps.changes.outputs.renovate }}
kysely-tailordb: ${{ steps.changes.outputs.kysely-tailordb }}
kysely-tailordb-codegen: ${{ steps.changes.outputs.kysely-tailordb-codegen }}
types: ${{ steps.changes.outputs.types }}
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: changes
with:
filters: |
action:
- .github/workflows/*
renovate:
- renovate.json
kysely-tailordb:
- packages/kysely-tailordb/**
kysely-tailordb-codegen:
- packages/kysely-tailordb-codegen/**
types:
- packages/types/**
status-check:
timeout-minutes: 10
runs-on: ubuntu-latest
needs:
- action
- renovate
- kysely-tailordb
- kysely-tailordb-codegen
permissions: {}
if: failure()
steps:
- run: exit 1
action:
uses: ./.github/workflows/lint-workflow.yaml
needs: path-filter
if: needs.path-filter.outputs.action == 'true'
permissions:
contents: read
renovate:
uses: ./.github/workflows/validate-renovate-config.yaml
needs: path-filter
if: needs.path-filter.outputs.renovate == 'true'
permissions:
contents: read
kysely-tailordb:
uses: ./.github/workflows/test-function-kysely-tailordb.yaml
needs: path-filter
if: needs.path-filter.outputs.kysely-tailordb == 'true'
permissions:
contents: read
pull-requests: write
kysely-tailordb-codegen:
uses: ./.github/workflows/test-function-kysely-tailordb-codegen.yaml
needs: path-filter
if: needs.path-filter.outputs.kysely-tailordb-codegen == 'true'
permissions:
contents: read
pull-requests: write