Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,41 @@ Download the binary for your platform from the `latest` release and run it local
./your-repo-name
```

## Keeping dependencies current

Nothing here updates your Go modules or your actions. Pick one:

- Install [Renovate](https://github.com/apps/renovate) on your repository. It
opens a setup pull request and keeps both current from then on.
- Or commit a `.github/dependabot.yml`:

```yaml
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
groups:
go:
patterns: ["*"]
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
actions:
patterns: ["*"]
```

The groups are what keep a week of updates to one pull request instead of ten.

Either way, run `make generate` after a `oapi-codegen` bump: a new version can
emit different code, and CI fails when what is committed no longer matches.

GitHub's own alerts for known vulnerabilities are separate, and are a repository
setting rather than a file.

## Mockzilla workflow

The included GitHub Actions workflow (`.github/workflows/mockzilla.yml`) publishes your server to [Mockzilla](https://mockzilla.org) automatically:
Expand Down
Loading