feat(跑分): 降低 aes 测试难度 #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |