-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 903 Bytes
/
ci.yaml
File metadata and controls
30 lines (30 loc) · 903 Bytes
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
name: ci
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- main
jobs:
test:
if: false # Remove this line to enable integration tests
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Checkout code
uses: actions/checkout@v6
# Build the connector binary, then run sync-test.
# Configure with valid entitlement/principal IDs.
# Add additional test jobs as needed.
- name: Build baton-fastly
run: go build ./cmd/baton-fastly
- name: Test connector syncing
uses: ConductorOne/github-workflows/actions/sync-test@v4
with:
connector: ./baton-fastly
baton-entitlement: '<entitlement-id>'
baton-principal: '<principal-id>'
baton-principal-type: 'user'