From 5b277be224594e73311483a4c196c18a14866b55 Mon Sep 17 00:00:00 2001 From: Xabier Larrakoetxea Date: Sun, 15 Sep 2024 11:38:00 +0200 Subject: [PATCH] Update deps Signed-off-by: Xabier Larrakoetxea --- .github/workflows/ci.yaml | 10 +++++----- go.mod | 11 +++++++++-- go.sum | 4 ++-- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7be2a08..31fc65d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,17 +7,17 @@ jobs: name: Check runs-on: ubuntu-latest # Execute the checks inside the container instead the VM. - container: golangci/golangci-lint:v1.36.0-alpine + container: golangci/golangci-lint:v1.61.0-alpine steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: ./scripts/check/check.sh unit-test: name: Unit test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.16 + go-version-file: go.mod - run: make unit-test diff --git a/go.mod b/go.mod index e28560f..644d7c5 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,15 @@ module github.com/slok/reload -go 1.16 +go 1.23 require ( github.com/stretchr/testify v1.8.1 - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c + golang.org/x/sync v0.8.0 +) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/objx v0.5.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 04011eb..23a42da 100644 --- a/go.sum +++ b/go.sum @@ -11,8 +11,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=