Skip to content

Merge pull request #39 from jzero-io/feat/templates-update #3

Merge pull request #39 from jzero-io/feat/templates-update

Merge pull request #39 from jzero-io/feat/templates-update #3

Workflow file for this run

name: jzero-upload-examples-ci
on:
push:
branches:
- main
jobs:
golangci:
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
jzero check
go install github.com/jaronnie/grum@latest
- name: upload
run: |
GITHUB_TOKEN=${{ secrets.ACCESS_TOKEN }} grum clone https://github.com/jzero-io/examples
cd examples
rm -rf quickstart
jzero new quickstart
cd quickstart && jzero gen
jzero gen swagger
jzero gen sdk
jzero gen zrpcclient
go mod tidy
go run main.go server
git add .
git commit -m "chore(quickstart): update quickstart"
git push -f