-
Notifications
You must be signed in to change notification settings - Fork 58
62 lines (54 loc) · 1.63 KB
/
ci.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Test Utilities
# This workflow will automatically build and test the utilities within
on:
pull_request:
push:
paths:
- util/**
- Makefile
# Triggering on both pull_request and push will cause duplicate workflows to fire. We only need one
# This occurs when we create a branch on the repository and then makes a PR from it.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-templater:
name: Build Formula Templater
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
-
name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1
with:
cache: true
cache-dependency-path: util/formula_templater/go.sum
go-version-file: util/formula_templater/go.mod
- name: Build CLI
run: |
make formula_templater
- name: Test
run: |
make ci-test-formula_templater
build-trigger:
name: Build Lambda Trigger
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
-
name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1
with:
cache: true
cache-dependency-path: util/lambda_trigger/go.sum
go-version-file: util/lambda_trigger/go.mod
- name: Build CLI
run: |
make lambda_trigger
- name: Test
run: |
make ci-test-lambda_trigger