Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiling-J committed Oct 1, 2024
1 parent 12ab601 commit 1e30340
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ permissions:
contents: read

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
test:
name: test
strategy:
Expand Down
2 changes: 1 addition & 1 deletion seqlock/seq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (n *Node[K, V]) Value() V {
value = n.value
}

if seq == n.lock.Load() {
if seq == n.lock.Add(0) {
return value
}
}
Expand Down

0 comments on commit 1e30340

Please sign in to comment.