From d87cd555b9b9b3e6a98e01a78bd94c0fcc2756a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 25 Feb 2023 09:18:31 +0000 Subject: [PATCH 1/2] Bump golang.org/x/sys from 0.0.0-20210630005230-0f9fa26af87c to 0.1.0 Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210630005230-0f9fa26af87c to 0.1.0. - [Release notes](https://github.com/golang/sys/releases) - [Commits](https://github.com/golang/sys/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: indirect ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index c3918df..b2bfbbe 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,6 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rivo/uniseg v0.2.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect + golang.org/x/sys v0.1.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 20a24af..be26603 100644 --- a/go.sum +++ b/go.sum @@ -28,8 +28,9 @@ github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMT github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= From 69892bdd34c2170c6d81c9d03c5cc5e140e9ec60 Mon Sep 17 00:00:00 2001 From: xztaityozx Date: Sat, 25 Feb 2023 21:06:54 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20go=E3=81=AE=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92go.mod=E3=81=8B=E3=82=89?= =?UTF-8?q?=E3=81=A8=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/go.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8883455..ec8ad39 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,12 +7,6 @@ on: - '.github/workflows/**' - 'go.mod' - 'go.sum' - pull_request: - paths: - - '**.go' - - '.github/workflows/**' - - 'go.mod' - - 'go.sum' jobs: linter: @@ -22,11 +16,11 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '>=1.18.0' + go-version-file: './go.mod' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.46.1 + version: latest test: name: Unit Test @@ -51,7 +45,7 @@ jobs: - name: Setup GoLang uses: actions/setup-go@v3 with: - go-version: '>=1.18.0' + go-version-file: './go.mod' - name: Get Dependencies if: steps.cache-go.outputs.cache-hit != 'true' run: go get -v -t -d ./... @@ -68,7 +62,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '>=1.18.0' + go-version-file: './go.mod' - uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser