diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2861d3e..7284be0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.24.x cache: true - name: Build @@ -44,13 +44,13 @@ jobs: - uses: actions/setup-go@v5 name: Set up Go with: - go-version: 1.22.x + go-version: 1.24.x cache: false # managed by golangci-lint - uses: golangci/golangci-lint-action@v6 name: Install golangci-lint with: - version: latest + version: v1.64.8 args: --help # make lint will run the linter - run: make lint diff --git a/.golangci.yml b/.golangci.yml index f84e6da..1ab957d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,7 +13,7 @@ linters-settings: govet: # These govet checks are disabled by default, but they're useful. enable: - - niliness + - nilness - reflectvaluecompare - sortslice - unusedwrite diff --git a/Dockerfile b/Dockerfile index 7373cb0..53f14f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # It does not include a sally configuration. # A /sally.yaml file is required for this to run. -FROM golang:1.22-alpine +FROM golang:1.24-alpine COPY . /build WORKDIR /build diff --git a/go.mod b/go.mod index de0d966..596f386 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.uber.org/sally -go 1.22 +go 1.24 require ( github.com/stretchr/testify v1.10.0