diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8d8e905..227a823 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu, macos, windows] - golang: ['1.13', '1.16', '1.17'] + golang: ['1.23', '1.24'] # currently, we cannot run non-x86_64 machines on Github Actions cloud env. runs-on: ${{ matrix.os }}-latest name: CI golang ${{ matrix.golang }} on ${{ matrix.os }} @@ -23,12 +23,6 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - name: Change GO11MODULES - run: go env -w GO111MODULE=auto - - name: Install requirements - run: | - go get github.com/bmizerany/assert - go get github.com/philhofer/fwd - go get github.com/tinylib/msgp - name: Test run: go test -v ./fluent + shell: bash diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..cbe1ec2 --- /dev/null +++ b/go.mod @@ -0,0 +1,15 @@ +module github.com/fluent/fluent-logger-golang + +go 1.23.5 + +require ( + github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 + github.com/tinylib/msgp v1.3.0 +) + +require ( + github.com/kr/pretty v0.3.1 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect + github.com/rogpeppe/go-internal v1.9.0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..3f46a69 --- /dev/null +++ b/go.sum @@ -0,0 +1,14 @@ +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c h1:dAMKvw0MlJT1GshSTtih8C2gDs04w8dReiOGXrGLNoY= +github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/tinylib/msgp v1.3.0 h1:ULuf7GPooDaIlbyvgAxBV/FI7ynli6LZ1/nVUNu+0ww= +github.com/tinylib/msgp v1.3.0/go.mod h1:ykjzy2wzgrlvpDCRc4LA8UXy6D8bzMSuAF3WD57Gok0=