-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (28 loc) · 822 Bytes
/
Copy pathci.yml
File metadata and controls
34 lines (28 loc) · 822 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
31
32
33
34
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up go
uses: actions/setup-go@v5
- name: Compile
run: go build ./...
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up go
uses: actions/setup-go@v5
# The generator emits wire tests that expect a mock server on :8080. No
# mock is generated into this repository and CI starts none, so they can
# only fail. Skipping them by name keeps every other generated test --
# including the setter and serialization suites -- running.
- name: Test
run: go test ./... -skip 'WithWireMock'