Skip to content

Commit

Permalink
Bump actions/setup-go from 2.1.5 to 2.2.0 (#121)
Browse files Browse the repository at this point in the history
* Bump actions/setup-go from 2.1.5 to 2.2.0

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* gofumpt

* golangci: remove "integration"

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: francisco souza <108725+fsouza@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and fsouza authored Feb 14, 2022
1 parent 3c8ab33 commit 55f0788
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: run-tests
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
id: go
with:
stable: false
Expand Down
2 changes: 0 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ issues:
max-same-issues: 0
run:
deadline: 5m
build-tags:
- integration
15 changes: 7 additions & 8 deletions runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ func TestRuntime(t *testing.T) {
g.GenerateStats()
store.Flush()

pattern :=
`runtime.lastGC:\d+|g\n` +
`runtime.pauseTotalNs:\d+|g\n` +
`runtime.numGC:\d+|g\n` +
`runtime.alloc:\d+|g\n` +
`runtime.totalAlloc:\d+|g\n` +
`runtime.frees:\d+|g\n` +
`runtime.nextGC:\d+|g\n`
pattern := `runtime.lastGC:\d+|g\n` +
`runtime.pauseTotalNs:\d+|g\n` +
`runtime.numGC:\d+|g\n` +
`runtime.alloc:\d+|g\n` +
`runtime.totalAlloc:\d+|g\n` +
`runtime.frees:\d+|g\n` +
`runtime.nextGC:\d+|g\n`

ok, err := regexp.Match(pattern, []byte(sink.record))
if err != nil {
Expand Down

0 comments on commit 55f0788

Please sign in to comment.