1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-19 05:06:20 +02:00
nfpm/.github/workflows/generate.yml
dependabot[bot] c3a8e2d185
chore(deps): bump arduino/setup-task from 1 to 2 (#784)
Bumps [arduino/setup-task](https://github.com/arduino/setup-task) from 1 to 2.
- [Release notes](https://github.com/arduino/setup-task/releases)
- [Commits](https://github.com/arduino/setup-task/compare/v1...v2)

---
updated-dependencies:
- dependency-name: arduino/setup-task
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 08:53:15 -03:00

37 lines
879 B
YAML

name: generate
on:
push:
branches:
- "main"
paths:
- ".github/workflows/generate.yml"
- "www/*"
- "cmd/*"
- "internal/cmd/*"
- "files/*"
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: "go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest"
- run: task docs:releases
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- run: task docs:generate
- run: task schema:generate
- run: task schema:validate
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "docs: update cmd docs"
branch: main