-
Notifications
You must be signed in to change notification settings - Fork 523
39 lines (35 loc) · 914 Bytes
/
program.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
name: Program Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
inputs:
cache:
description: 'Use Cached Dependencies'
required: true
type: boolean
changes:
description: 'Only run when files change'
required: true
type: boolean
jobs:
program-tests:
name: "Program: ${{ matrix.node.name }}"
strategy:
fail-fast: false
matrix:
node:
- name: "auctioneer"
- name: "candy-machine"
- name: "auction-house"
- name: "fixed-price-sale"
- name: "gumdrop"
- name: "hydra"
- name: "token-entangler"
uses: ./.github/workflows/program-reusable.yml
with:
name: ${{ matrix.node.name }}
cache: ${{ contains(inputs.cache, 'true') }}
changes: ${{ !contains(inputs.changes, 'false') }}