diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16006ea..8dc51fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,6 @@ name: Test on: [push, pull_request] -env: - GO111MODULE: "on" - jobs: test: name: Go ${{ matrix.go }} Test on ${{ matrix.os }} @@ -17,17 +14,10 @@ jobs: - macos-latest go: - "stable" + - "1.22" - "1.21" - "1.20" - "1.19" - - "1.18" - goexperiment: [""] - include: - # test with GOEXPERIMENT=loopvar - # https://github.com/golang/go/wiki/LoopvarExperiment - - go: "1.21" - os: ubuntu-latest - goexperiment: "loopvar" steps: - name: Check out code @@ -44,8 +34,6 @@ jobs: make test-xrayaws make test-xrayaws-v2 shell: bash - env: - GOEXPERIMENT: ${{ matrix.goexperiment }} - name: Send coverage uses: shogo82148/actions-goveralls@v1 diff --git a/go.mod b/go.mod index ccfed47..b9188f8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/shogo82148/aws-xray-yasdk-go -go 1.18 +go 1.19 require ( github.com/google/go-cmp v0.6.0 diff --git a/xrayaws-v2/go.mod b/xrayaws-v2/go.mod index 811edc7..5395be2 100644 --- a/xrayaws-v2/go.mod +++ b/xrayaws-v2/go.mod @@ -1,6 +1,6 @@ module github.com/shogo82148/aws-xray-yasdk-go/xrayaws-v2 -go 1.18 +go 1.19 require ( github.com/aws/aws-sdk-go-v2 v1.27.2