diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54464a7..05ee2db 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: 1.23 + go-version: 1.17 stable: false - uses: actions/checkout@v2 - name: golangci-lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be96707..00b44b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.23 + go-version: 1.17 stable: false - name: Test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8f97e3..dd9179e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,6 @@ jobs: strategy: matrix: go: - - '1.16' - '1.17' - '1.18' - '1.19' diff --git a/README.md b/README.md index e6a1202..d37efe0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Safe CSV writer [![tag](https://img.shields.io/github/tag/samber/go-safe-csv-writer.svg)](https://github.com/samber/go-safe-csv-writer/releases) -![Go Version](https://img.shields.io/badge/Go-%3E%3D%201.22-%23007d9c) +![Go Version](https://img.shields.io/badge/Go-%3E%3D%201.16-%23007d9c) [![GoDoc](https://godoc.org/github.com/samber/go-safe-csv-writer?status.svg)](https://pkg.go.dev/github.com/samber/go-safe-csv-writer) ![Build Status](https://github.com/samber/go-safe-csv-writer/actions/workflows/test.yml/badge.svg) [![Go report](https://goreportcard.com/badge/github.com/samber/go-safe-csv-writer)](https://goreportcard.com/report/github.com/samber/go-safe-csv-writer) diff --git a/go.mod b/go.mod index 045e023..083074a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/samber/go-safe-csv-writer -go 1.16 +go 1.17 require ( github.com/stretchr/testify v1.9.0 @@ -13,4 +13,5 @@ require ( github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/rogpeppe/go-internal v1.10.0 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect )