File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [main]
88
99jobs :
10+ mockery-container :
11+ runs-on : ubuntu-latest
12+ container :
13+ image : vektra/mockery
14+ ports :
15+ - 80
16+ volumes :
17+ - my_docker_volume:/volume_mount
18+ 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
22+
1023 build :
1124 runs-on : ubuntu-latest
1225 steps :
1528 - name : Set up Go
1629 uses : actions/setup-go@v2
1730 with :
18- go-version : 1.17
31+ go-version : 1.18
1932
2033 - name : Install mockery
2134 run : go get github.com/vektra/mockery/v2/.../
Original file line number Diff line number Diff line change @@ -23,14 +23,6 @@ Install all go dependencies
2323go get ./...
2424```
2525
26- Make sure you install mockery!!
27-
28- Open a terminal window and run this
29-
30- ``` sh
31- go get github.com/vektra/mockery/v2/.../
32- ```
33-
3426### Run the app
3527
3628Copy ` .env.sample ` to ` .env ` and add secrets
You can’t perform that action at this time.
0 commit comments