File tree 3 files changed +36
-5
lines changed
3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ with :
11
+ fetch-depth : 0
12
+ - uses : actions/setup-go@v2
13
+ with :
14
+ go-version : ^1
15
+ check-latest : true
16
+ - run : go test -cover -race -failfast ./...
17
+ example :
18
+ runs-on : ubuntu-latest
19
+ defaults :
20
+ run :
21
+ working-directory : ./_examples
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ with :
25
+ fetch-depth : 0
26
+ - uses : actions/setup-go@v2
27
+ with :
28
+ go-version : ^1
29
+ check-latest : true
30
+ cache : true
31
+ - run : go run .
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/catppuccin/go v0.0.0-00010101000000-000000000000
7
7
github.com/charmbracelet/lipgloss v0.6.0
8
- github.com/muesli/termenv v0.13.0
9
8
)
10
9
11
10
require (
@@ -14,6 +13,7 @@ require (
14
13
github.com/mattn/go-isatty v0.0.16 // indirect
15
14
github.com/mattn/go-runewidth v0.0.14 // indirect
16
15
github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68 // indirect
16
+ github.com/muesli/termenv v0.13.0 // indirect
17
17
github.com/rivo/uniseg v0.2.0 // indirect
18
18
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
19
19
)
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import (
10
10
func main () {
11
11
fmt .Println ()
12
12
for _ , flavour := range []catppuccin.Flavour {
13
- catppuccin .Mocha () ,
14
- catppuccin .Frappe () ,
15
- catppuccin .Macchiato () ,
16
- catppuccin .Latte () ,
13
+ catppuccin .Mocha ,
14
+ catppuccin .Frappe ,
15
+ catppuccin .Macchiato ,
16
+ catppuccin .Latte ,
17
17
} {
18
18
19
19
fmt .Println (lipgloss .NewStyle ().Bold (true ).Render (flavour .Name () + ":" ))
You can’t perform that action at this time.
0 commit comments