File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 10
10
- ' shim/integration'
11
11
paths :
12
12
- ' solana/**'
13
+ workflow_dispatch :
14
+ inputs :
15
+ job-to-run :
16
+ description : ' Job to run (leave empty to run all)'
17
+ required : false
18
+ default : ' '
19
+ type : choice
20
+ options :
21
+ - ' '
22
+ - make-cargo-test-all
23
+ - make-lint
24
+ - make-check-idl
25
+ - make-anchor-test
26
+ - make-anchor-test-upgrade
13
27
14
28
env :
15
29
CARGO_TERM_COLOR : always
27
41
make-cargo-test-all :
28
42
name : make cargo-test-all
29
43
runs-on : ubuntu-latest
44
+ if : ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == '' || github.event.inputs.job-to-run == 'make-cargo-test-all' }}
30
45
steps :
31
46
- uses : actions/checkout@v4
32
47
with :
48
63
make-lint :
49
64
name : make lint
50
65
runs-on : ubuntu-latest
66
+ if : ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == '' || github.event.inputs.job-to-run == 'make-lint' }}
51
67
steps :
52
68
- uses : actions/checkout@v4
53
69
with :
70
86
make-check-idl :
71
87
name : make check-idl
72
88
runs-on : ubuntu-latest
89
+ if : ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == '' || github.event.inputs.job-to-run == 'make-check-idl' }}
73
90
steps :
74
91
- uses : actions/checkout@v4
75
92
with :
95
112
make-anchor-test :
96
113
name : make anchor-test
97
114
runs-on : ubuntu-latest
115
+ if : ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == '' || github.event.inputs.job-to-run == 'make-anchor-test' }}
98
116
steps :
99
117
- uses : actions/checkout@v4
100
118
with :
@@ -124,6 +142,7 @@ jobs:
124
142
make-anchor-test-upgrade :
125
143
name : make anchor-test-upgrade
126
144
runs-on : ubuntu-latest
145
+ if : ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == '' || github.event.inputs.job-to-run == 'make-anchor-test-upgrade' }}
127
146
steps :
128
147
- uses : actions/checkout@v4
129
148
with :
You can’t perform that action at this time.
0 commit comments