File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313
14+ - name : Check out code into the Go module directory
15+ uses : actions/checkout@v4
16+
1417 - name : Set up Go
1518 uses : actions/setup-go@v5
1619 with :
1720 go-version : ' >=1.22.0'
1821
19- - name : Check out code into the Go module directory
20- uses : actions/checkout@v4
21-
2222 - name : Run go mod tidy
2323 run : |
2424 set -e
3939 run : " go vet ./..."
4040
4141 - name : Staticcheck
42- uses :
dominikh/[email protected] .0 42+ uses :
dominikh/[email protected] .1 4343 with :
44- version : " 2023 .1.7 "
44+ version : " 2024 .1.1 "
4545 install-go : false
4646
4747 - name : Build
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ func (c *Color) format() string {
401401
402402func (c * Color ) unformat () string {
403403 //return fmt.Sprintf("%s[%dm", escape, Reset)
404- //for each element in sequence let's use the speficic reset escape, ou the generic one if not found
404+ //for each element in sequence let's use the specific reset escape, or the generic one if not found
405405 format := make ([]string , len (c .params ))
406406 for i , v := range c .params {
407407 format [i ] = strconv .Itoa (int (Reset ))
You can’t perform that action at this time.
0 commit comments