Skip to content

Commit

Permalink
mod: bump golang.org/x/sync from 0.7.0 to 0.8.0 (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <[email protected]>
  • Loading branch information
dependabot[bot] and unknwon authored Sep 1, 2024
1 parent 2c8e001 commit dcfbf2f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 38 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ env:
jobs:
lint:
name: Lint
concurrency:
group: ${{ github.workflow }}-lint-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v4
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Check Go module tidiness
shell: bash
run: |
Expand All @@ -48,15 +51,15 @@ jobs:
name: Test
strategy:
matrix:
go-version: [ 1.21.x, 1.22.x ]
go-version: [ 1.22.x, 1.23.x ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests with coverage
run: go test -v -race -coverprofile=coverage -covermode=atomic ./...
28 changes: 0 additions & 28 deletions .github/workflows/lsif.yml

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ go 1.16
require (
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
github.com/stretchr/testify v1.9.0
golang.org/x/sync v0.7.0
golang.org/x/sync v0.8.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
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=
Expand Down
4 changes: 2 additions & 2 deletions repo_reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestRepository_SymbolicRef(t *testing.T) {

// Set a symbolic reference
_, err = r.SymbolicRef(SymbolicRefOptions{
Name: "TEST-REF",
Name: "TEST_REF",
Ref: RefsHeads + "develop",
})
if err != nil {
Expand All @@ -177,7 +177,7 @@ func TestRepository_SymbolicRef(t *testing.T) {

// Get the symbolic reference we just set
ref, err = r.SymbolicRef(SymbolicRefOptions{
Name: "TEST-REF",
Name: "TEST_REF",
})
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit dcfbf2f

Please sign in to comment.