Skip to content

Commit

Permalink
feat: make yaml3 the default
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed May 26, 2022
1 parent 7c35aa9 commit 8d02999
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.15', '1.16', '1.17', '1.18']
tags: ['', 'viper_yaml3', 'viper_toml2']
tags: ['', 'viper_yaml2', 'viper_toml2']
env:
GOFLAGS: -mod=readonly

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/yaml/yaml2.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !viper_yaml3
// +build !viper_yaml3
//go:build viper_yaml2
// +build viper_yaml2

package yaml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/yaml/yaml2_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !viper_yaml3
// +build !viper_yaml3
//go:build viper_yaml2
// +build viper_yaml2

package yaml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/yaml/yaml3.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build viper_yaml3
// +build viper_yaml3
//go:build !viper_yaml2
// +build !viper_yaml2

package yaml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/yaml/yaml3_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build viper_yaml3
// +build viper_yaml3
//go:build !viper_yaml2
// +build !viper_yaml2

package yaml

Expand Down
4 changes: 2 additions & 2 deletions viper_yaml2_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !viper_yaml3
// +build !viper_yaml3
//go:build viper_yaml2
// +build viper_yaml2

package viper

Expand Down
4 changes: 2 additions & 2 deletions viper_yaml3_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build viper_yaml3
// +build viper_yaml3
//go:build !viper_yaml2
// +build !viper_yaml2

package viper

Expand Down

0 comments on commit 8d02999

Please sign in to comment.