Skip to content

Commit 2a803fd

Browse files
committed
moved commands to build
1 parent 5414d14 commit 2a803fd

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ jobs:
1616
volumes:
1717
- my_docker_volume:/volume_mount
1818
options: --cpus 1
19-
steps:
20-
- name: Run mockery from container
21-
run: docker run -v ${{ github.workspace }}:/src -w /src vektra/mockery --all --inpackage
2219

2320
build:
2421
runs-on: ubuntu-latest
@@ -30,11 +27,8 @@ jobs:
3027
with:
3128
go-version: 1.18
3229

33-
- name: Install mockery
34-
run: go get github.com/vektra/mockery/v2/.../
35-
36-
- name: Create mocks
37-
run: mockery --all --inpackage
30+
- name: Run mockery from container
31+
run: docker run -v ${{ github.workspace }}:/src -w /src vektra/mockery --all --inpackage
3832

3933
- name: Build
4034
run: go build -v ./...

0 commit comments

Comments
 (0)