-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (42 loc) · 1018 Bytes
/
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
name: ci
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
permissions:
contents: read
env:
GO_VERSION: 1.19.3
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Node
uses: actions/setup-node@v3
- run: npm ci
- name: Lint Gherkin
run: npm run gherkin-lint
- name: Setup go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build sync binary
run: make build-sync
- name: Build flagd-testbed Docker image
uses: docker/build-push-action@v4
with:
context: .
file: flagd/Dockerfile
push: false
- name: Build sync-testbed Docker image
uses: docker/build-push-action@v4
with:
context: .
file: sync/Dockerfile
push: false