Skip to content

Commit

Permalink
Merge pull request #144 from maier/master
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
maier authored Dec 5, 2023
2 parents 7cad440 + 97963ff commit 372e53c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.19'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m
# skip-cache: true
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,27 @@ release:
owner: circonus-labs
prerelease: auto

changelog:
use: git
sort: desc
abbrev: 0
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Dependencies'
regexp: "^.*build(deps):+.*$"
order: 2
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- typo

checksum:
name_template: "{{.ProjectName}}_checksums.txt"

Expand Down
4 changes: 2 additions & 2 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func TestValidate(t *testing.T) {
t.Log("no config")
{
err := Validate()
if err != nil {
t.Fatalf("Expected NO error, got (%s)", err)
if err == nil {
t.Fatal("expected error")
}
}
}
Expand Down

0 comments on commit 372e53c

Please sign in to comment.