-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (48 loc) · 1.07 KB
/
test.yml
File metadata and controls
51 lines (48 loc) · 1.07 KB
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
name: Test Unit
on:
push:
tags-ignore:
- "*"
paths-ignore:
- ".github/funding.yml"
- ".github/workflows/releaser.yml"
- "completion/**"
- "manifest/**"
- "install.sh"
- "install.ps1"
- "README.md"
- "schema.app.manifest.json"
- "schema.repo.manifest.json"
pull_request:
tags-ignore:
- "*"
paths-ignore:
- ".github/funding.yml"
- ".github/workflows/releaser.yml"
- "completion/**"
- "manifest/**"
- "install.sh"
- "install.ps1"
- "README.md"
- "schema.app.manifest.json"
- "schema.repo.manifest.json"
jobs:
test:
name: Test Unit
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...