Skip to content

Commit

Permalink
x/sync v0.5.0 => v0.7.0 (#10)
Browse files Browse the repository at this point in the history
* x/sync v0.5.0 => v0.7.0
  • Loading branch information
s0rg authored Apr 7, 2024
1 parent 4c2a94b commit 1d4b77c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
name: ci
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup golang
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
Expand All @@ -25,15 +29,13 @@ jobs:
name: ci
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ^1.19
check-latest: true
cache: true
go-version: ^1.22
- name: test-coverage
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand All @@ -47,13 +49,11 @@ jobs:
name: ci
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ^1.19
check-latest: true
cache: true
go-version: ^1.22
- name: init codeql
uses: github/codeql-action/init@v2
with:
Expand Down
5 changes: 2 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
run:
allow-parallel-runners: true
go: '1.19'
go: '1.22'

output:
format: 'colored-line-number'
print-issued-lines: true
print-linter-name: true
sort-results: true
Expand All @@ -18,14 +17,14 @@ linters:
- exhaustive
- varnamelen
- depguard
- intrange
- ireturn
- gofumpt

linters-settings:
errcheck:
check-type-assertions: true
govet:
check-shadowing: true
enable-all: true
gocritic:
enabled-tags:
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/s0rg/retry

go 1.21
go 1.22

require golang.org/x/sync v0.5.0
require golang.org/x/sync v0.7.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=

0 comments on commit 1d4b77c

Please sign in to comment.