From 10fc58dc7146c203230241ac299a0aa067872307 Mon Sep 17 00:00:00 2001 From: Jake Schuurmans Date: Fri, 13 Sep 2024 13:16:44 -0400 Subject: [PATCH] fix github workflow --- .github/workflows/push-pr-lint.yaml | 2 +- .mockery.yaml | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/push-pr-lint.yaml b/.github/workflows/push-pr-lint.yaml index 6197340..4374b13 100644 --- a/.github/workflows/push-pr-lint.yaml +++ b/.github/workflows/push-pr-lint.yaml @@ -16,7 +16,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - args: --config .golangci.yml --timeout 2m + args: -tags testtools --config .golangci.yml --timeout 2m version: v1.55.2 - name: Test diff --git a/.mockery.yaml b/.mockery.yaml index 45f48b8..548e29d 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -1,19 +1,6 @@ testonly: False with-expecter: True packages: - github.com/metal-toolbox/rivets/events/controller: - config: - dir: events/controller - fileName: "mock_{{.InterfaceName | firstLower}}.go" - inpackage: True - interfaces: - TaskHandler: - Publisher: - StatusPublisher: - ConditionStatusQueryor: - ConditionStatusPublisher: - eventStatusAcknowleger: - LivenessCheckin: github.com/metal-toolbox/rivets/events: config: dir: events/