File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ * @ xBlaz3kx
Original file line number Diff line number Diff line change 1+ name : " Lint and test"
2+ on :
3+ push :
4+ branches :
5+ - master
6+ paths-ignore :
7+ - ' docs/**'
8+ - ' .run/**'
9+ - ' api/**'
10+ - ' features/**'
11+ - ' config/**'
12+ - ' deployments/**'
13+ - ' *.md'
14+ tags :
15+ - v*
16+
17+ pull_request :
18+ types : [ opened, synchronize ]
19+ branches :
20+ - master
21+ paths-ignore :
22+ - ' docs/**'
23+ - ' .run/**'
24+ - ' api/**'
25+ - ' features/**'
26+ - ' config/**'
27+ - ' deployments/**'
28+ - ' *.md'
29+
30+ workflow_dispatch :
31+
32+ jobs :
33+
34+ # Run unit tests
35+ tests :
36+ name : " Run unit tests"
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Checkout
40+ uses : actions/checkout@v4
41+
42+ - name : Setup Go
43+ uses : actions/setup-go@v4
44+ with :
45+ go-version : 1.21.1
46+
47+ - name : Install dependencies and run tests
48+ run : |
49+ go mod download
50+ go test -v ./...
You can’t perform that action at this time.
0 commit comments