add golangci-lint package for alpine
All checks were successful
Lint / golangci-lint (push) Successful in 10m0s
Declarative Tests / test (push) Successful in 29s

This commit is contained in:
Matthew Rich 2024-10-09 23:36:11 +00:00
parent a3c2d17c69
commit b61010b99a
3 changed files with 5 additions and 2 deletions

View File

@ -30,3 +30,7 @@ resources:
transition: create transition: create
attributes: attributes:
name: openssh-client name: openssh-client
- type: package
transition: create
attributes:
name: golangci-lint

View File

@ -14,7 +14,7 @@ func TestNewEvent(t *testing.T) {
events := NewEvents() events := NewEvents()
assert.NotNil(t, events) assert.NotNil(t, events)
et.Set(EventTypeLoad) assert.Nil(t, et.Set(EventTypeLoad))
assert.Nil(t, events.Set(et, EventHandler(` assert.Nil(t, events.Set(et, EventHandler(`
print('hello world') print('hello world')
`))) `)))

View File

@ -58,7 +58,6 @@ type Service struct {
UpdateCommand *command.Command `yaml:"-" json:"-"` UpdateCommand *command.Command `yaml:"-" json:"-"`
DeleteCommand *command.Command `yaml:"-" json:"-"` DeleteCommand *command.Command `yaml:"-" json:"-"`
config data.ConfigurationValueGetter
Resources data.ResourceMapper `yaml:"-" json:"-"` Resources data.ResourceMapper `yaml:"-" json:"-"`
} }