-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 924 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: sqlbuilder-zero-ci
on:
push:
branches:
- main
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.22.3'
- name: Install Jzero and Grum
run: |
go install github.com/jaronnie/grum@latest
- name: Test Usage and upload
run: |
GITHUB_TOKEN=${{ secrets.ACCESS_TOKEN }} grum clone https://github.com/jzero-io/jzero
cp -r .template/go-zero/model ./jzero/.template/go-zero
cd jzero
git config user.name "dependabot[bot]"
git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
git add .
git diff-index --quiet HEAD || git commit -m "chore(template): update .template go-zero/model"
git push -f