From 2e462511566325fa7e590663d86f1af8267268f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:42:31 +0100 Subject: [PATCH] Bump golang.org/x/sys from 0.0.0-20201015000850-e3ed0017c211 to 0.1.0 in /native (#3) * Bump golang.org/x/sys in /native Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20201015000850-e3ed0017c211 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: direct:production ... Signed-off-by: dependabot[bot] * Fixed build --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gregor Noczinski --- .github/workflows/ci.yml | 34 +++++++++++++++++++--------------- native/go.mod | 2 +- native/go.sum | 7 ++----- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6249be3..1ea09c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,30 +2,35 @@ on: [ push, pull_request ] name: Continuous Integration jobs: lint: + name: Lint strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.15.x + go-version: 1.20.1 - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- + - name: Install dependencies + run: | + go mod download + - name: Install golangci-lint run: | - go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest golangci-lint --version - name: Lint @@ -36,22 +41,23 @@ jobs: golangci-lint run --color=always -c ../.golangci.yml ./... test: + name: Test strategy: matrix: - go-version: [ 1.13.x, 1.14.x, 1.15.x ] + go-version: [ 1.13.0, 1.14.0, 1.15.0 ] os: [ ubuntu-latest, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -101,12 +107,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.15.x + go-version: 1.20.1 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -114,9 +120,7 @@ jobs: ${{ runner.os }}-go- - name: Install goveralls - env: - GO111MODULE: off - run: go get github.com/mattn/goveralls + run: go install github.com/mattn/goveralls@latest - name: Send coverage finish env: diff --git a/native/go.mod b/native/go.mod index 1cce659..333b023 100644 --- a/native/go.mod +++ b/native/go.mod @@ -6,5 +6,5 @@ replace github.com/echocat/slf4g => ../ require ( github.com/echocat/slf4g v0.0.0 - golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211 + golang.org/x/sys v0.1.0 ) diff --git a/native/go.sum b/native/go.sum index 1ab85fc..b69ea85 100644 --- a/native/go.sum +++ b/native/go.sum @@ -1,5 +1,2 @@ -github.com/echocat/slf4g/native v0.6.1/go.mod h1:TRok8ZG3/HTStEWhqh4GsvIx0I3tkABj9VztLtk9kkk= -github.com/echocat/slf4g/native v0.9.0/go.mod h1:AzxGz/1bNWNg9g0ImIicj1YdUt/CakqdU2iD7eRsLqw= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211 h1:9UQO31fZ+0aKQOFldThf7BKPMJTiBfWycGh/u3UoO88= -golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=