-
Notifications
You must be signed in to change notification settings - Fork 1.8k
38 lines (33 loc) · 823 Bytes
/
cli.yml
File metadata and controls
38 lines (33 loc) · 823 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
35
36
37
38
name: Run Tests
on:
pull_request:
branches:
- v1-maint
push:
branches:
- v1-maint
tags:
- v1.*
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [stable, oldstable]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install Dependencies
run: npm install markdown-toc
- name: Run Tests
run: |
go run build.go vet
go run build.go test
go run build.go -tags urfave_cli_no_docs test
go run build.go toc docs/v1/manual.md