mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:47:20 +08:00
23 lines
504 B
YAML
23 lines
504 B
YAML
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"
|