2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

feat: 生成mock

This commit is contained in:
耗子
2024-12-16 02:53:46 +08:00
parent a70f3901f7
commit 015fb76d4c
22 changed files with 8456 additions and 0 deletions

22
.github/workflows/mockery.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Mockery
on:
push:
branches:
- main
pull_request:
jobs:
mockery:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Mockery
run: |
go install github.com/vektra/mockery/v2@latest
- name: Generate Mocks
run: |
~/go/bin/mockery
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit changes
with:
commit_message: "chore: update mocks"