Skip to content

Commit

Permalink
Merge pull request #235 from deining/fix-typo
Browse files Browse the repository at this point in the history
Bump GitHub workflow actions
fatih authored Aug 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents b6598b1 + 9b9653e commit cb154c0
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Run go mod tidy
run: |
set -e
@@ -39,9 +39,9 @@ jobs:
run: "go vet ./..."

- name: Staticcheck
uses: dominikh/[email protected].0
uses: dominikh/[email protected].1
with:
version: "2023.1.7"
version: "2024.1.1"
install-go: false

- name: Build
2 changes: 1 addition & 1 deletion color.go
Original file line number Diff line number Diff line change
@@ -401,7 +401,7 @@ func (c *Color) format() string {

func (c *Color) unformat() string {
//return fmt.Sprintf("%s[%dm", escape, Reset)
//for each element in sequence let's use the speficic reset escape, ou the generic one if not found
//for each element in sequence let's use the specific reset escape, or the generic one if not found
format := make([]string, len(c.params))
for i, v := range c.params {
format[i] = strconv.Itoa(int(Reset))

0 comments on commit cb154c0

Please sign in to comment.