Skip to content

Commit

Permalink
2.0.0 release preparation (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Bonic authored Dec 5, 2021
1 parent 6c886cf commit 96bfba3
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

# Install gotestfmt on the VM running the action.
- name: Set up gotestfmt
uses: haveyoudebuggedit/gotestfmt-action@v1
uses: haveyoudebuggedit/gotestfmt-action@v2
with:
# Optional: pass GITHUB_TOKEN to avoid rate limiting.
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion cmd/gotestfmt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"path/filepath"

"github.com/haveyoudebuggedit/gotestfmt"
"github.com/haveyoudebuggedit/gotestfmt/v2"
)

// ciEnvironments maps environment variables to directories to check for templates.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/haveyoudebuggedit/gotestfmt
module github.com/haveyoudebuggedit/gotestfmt/v2

go 1.16
6 changes: 3 additions & 3 deletions gotestfmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"io/ioutil"
"path"

"github.com/haveyoudebuggedit/gotestfmt/parser"
"github.com/haveyoudebuggedit/gotestfmt/renderer"
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
"github.com/haveyoudebuggedit/gotestfmt/v2/renderer"
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
)

//go:embed .gotestfmt/*.gotpl
Expand Down
2 changes: 1 addition & 1 deletion parser/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
)

// Parse creates a new formatter that reads the go test output from the input reader, formats it and writes
Expand Down
6 changes: 3 additions & 3 deletions parser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strings"
"testing"

"github.com/haveyoudebuggedit/gotestfmt/parser"
"github.com/haveyoudebuggedit/gotestfmt/testutil"
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
"github.com/haveyoudebuggedit/gotestfmt/v2/testutil"
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
)

// TestParse takes the *.tokenizer.json and *.parser.json files in ../testdata, runs the tokenizer files as input
Expand Down
2 changes: 1 addition & 1 deletion renderer/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"text/template"

"github.com/haveyoudebuggedit/gotestfmt/parser"
"github.com/haveyoudebuggedit/gotestfmt/v2/parser"
)

// Render takes the two input channels from the parser and renders them into text output fragments.
Expand Down
4 changes: 2 additions & 2 deletions tokenizer/tokenizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"strings"
"testing"

"github.com/haveyoudebuggedit/gotestfmt/testutil"
"github.com/haveyoudebuggedit/gotestfmt/tokenizer"
"github.com/haveyoudebuggedit/gotestfmt/v2/testutil"
"github.com/haveyoudebuggedit/gotestfmt/v2/tokenizer"
)

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

0 comments on commit 96bfba3

Please sign in to comment.