Skip to content

Commit 96bfba3

Browse files
author
Janos Bonic
authored
2.0.0 release preparation (#13)
1 parent 6c886cf commit 96bfba3

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Install gotestfmt on the VM running the action.
5050
- name: Set up gotestfmt
51-
uses: haveyoudebuggedit/gotestfmt-action@v1
51+
uses: haveyoudebuggedit/gotestfmt-action@v2
5252
with:
5353
# Optional: pass GITHUB_TOKEN to avoid rate limiting.
5454
token: ${{ secrets.GITHUB_TOKEN }}

cmd/gotestfmt/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"path/filepath"
88

9-
"github.com/haveyoudebuggedit/gotestfmt"
9+
"github.com/haveyoudebuggedit/gotestfmt/v2"
1010
)
1111

1212
// ciEnvironments maps environment variables to directories to check for templates.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/haveyoudebuggedit/gotestfmt
1+
module github.com/haveyoudebuggedit/gotestfmt/v2
22

33
go 1.16

gotestfmt.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"io/ioutil"
88
"path"
99

10-
"github.com/haveyoudebuggedit/gotestfmt/parser"
11-
"github.com/haveyoudebuggedit/gotestfmt/renderer"
12-
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
10+
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
11+
"github.com/haveyoudebuggedit/gotestfmt/v2/renderer"
12+
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
1313
)
1414

1515
//go:embed .gotestfmt/*.gotpl

parser/parse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"time"
1010

11-
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
11+
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
1212
)
1313

1414
// Parse creates a new formatter that reads the go test output from the input reader, formats it and writes

parser/parse_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/haveyoudebuggedit/gotestfmt/parser"
13-
"github.com/haveyoudebuggedit/gotestfmt/testutil"
14-
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
12+
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
13+
"github.com/haveyoudebuggedit/gotestfmt/v2/testutil"
14+
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
1515
)
1616

1717
// TestParse takes the *.tokenizer.json and *.parser.json files in ../testdata, runs the tokenizer files as input

renderer/renderer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"text/template"
77

8-
"github.com/haveyoudebuggedit/gotestfmt/parser"
8+
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
99
)
1010

1111
// Render takes the two input channels from the parser and renders them into text output fragments.

tokenizer/tokenizer_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"testing"
1313

14-
"github.com/haveyoudebuggedit/gotestfmt/testutil"
15-
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
14+
"github.com/haveyoudebuggedit/gotestfmt/v2/testutil"
15+
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
1616
)
1717

1818
// TestTokenization reads the *.txt and *.tokenizer.json files from the ../testdata directory, then runs

0 commit comments

Comments
 (0)