Skip to content

Commit

Permalink
github: stop generating unused mocks (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie authored Oct 3, 2024
1 parent 8c73b8f commit ae2fd5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gha-go-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Go tests
run-name: Running tests

on: [push]

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -18,7 +19,6 @@ jobs:
env:
SC_VERSION: "2024.1.1"
run: |
make generate
SC_URL="https://github.com/dominikh/go-tools/releases/download/$SC_VERSION/staticcheck_linux_amd64.tar.gz"
wget -q ${SC_URL} -O - | tar -xzf - --strip-components 1 -C /usr/local/bin staticcheck/staticcheck
make static
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gha-integration-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Integration tests
run-name: Running integration tests

on: [push]

jobs:
Postgres:
runs-on: ubuntu-latest
Expand Down
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ release:
clean:
go clean -testcache

.PHONY: generate
generate:
go get github.com/maxbrunsfeld/counterfeiter/v6
go generate ./...
go mod tidy

.PHONY: upgrade
upgrade:
go get github.com/artie-labs/transfer
Expand Down
4 changes: 0 additions & 4 deletions lib/mocks/generate.go

This file was deleted.

0 comments on commit ae2fd5a

Please sign in to comment.