Skip to content

generate

generate #1257

Workflow file for this run

name: generate
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.18"
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: generate
run: |
make clean
make gen
sudo chown -R $USER api/v1/koyeb
- name: test
run: |
make test
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
body: |
Auto-generated by [create-pull-request]