diff --git a/.github/workflows/gorelease.yml b/.github/workflows/gorelease.yml index a2f130ae..bf708c22 100644 --- a/.github/workflows/gorelease.yml +++ b/.github/workflows/gorelease.yml @@ -18,6 +18,7 @@ jobs: uses: actions/setup-go@v6 with: go-version: ${{ env.GO_VERSION }} + cache-dependency-path: go.sum - name: Checkout code uses: actions/checkout@v5 - name: Gorelease cache diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.yml index 365e2576..18ebda32 100644 --- a/.github/workflows/release-assets.yml +++ b/.github/workflows/release-assets.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-go@v6 with: go-version: stable + cache-dependency-path: go.sum - name: Checkout code uses: actions/checkout@v5 - name: Build artifacts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fd4cedb..7b1c80c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,13 +8,14 @@ jobs: test: strategy: matrix: - go-version: [ 1.16.x, 1.17.x, oldstable, stable ] # Lowest supported and current stable versions. + go-version: [ 1.17.x, oldstable, stable ] # Lowest supported and current stable versions. runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v6 with: go-version: ${{ matrix.go-version }} + cache-dependency-path: go.sum - name: Checkout code uses: actions/checkout@v5 - name: Go cache diff --git a/CHANGELOG.md b/CHANGELOG.md index 21a323e0..03510d6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ This project adheres to [Semantic Versioning](http://semver.org). This document is formatted according to the principles of [Keep A CHANGELOG](http://keepachangelog.com). ## Unreleased +### Removed +- Dropped Go 1.16 support ## [v0.15.1] diff --git a/go.mod b/go.mod index cf44e988..d023395a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cucumber/godog -go 1.16 +go 1.17 require ( github.com/cucumber/gherkin/go/v26 v26.2.0 @@ -10,6 +10,15 @@ require ( github.com/stretchr/testify v1.11.1 ) +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/gofrs/uuid v4.3.1+incompatible // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) + require ( github.com/cucumber/messages/go/v21 v21.0.1 github.com/hashicorp/go-immutable-radix v1.3.1 // indirect diff --git a/go.sum b/go.sum index 75dda252..1067c7b8 100644 --- a/go.sum +++ b/go.sum @@ -34,10 +34,6 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M= -github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= -github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -47,7 +43,6 @@ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=