diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-09-29 18:42:53 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-09-29 20:38:29 +0200 |
commit | 7af371701d44dbde052235522876c1bf75f05c91 (patch) | |
tree | ebdebeee596b4202cf50abc0e2d42b10f3bea680 /.github | |
parent | 5ccc95b76fbaa8d268818159d6ff4d64d23b153c (diff) |
Use go:generate for generating cheatsheets
This has several benefits:
- it's less code
- we're using the same mechanism to generate all our auto-generated files, so if
someone wants to add a new one, it's clear which pattern to follow
- we can re-generate all generated files with a single command
("go generate ./...", or "make generate")
- we only need a single check on CI to check that all files are up to date (see
previous commit)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfc67eada..d5d5651ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,9 +127,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: 1.20.x - - name: Check Cheatsheet - run: | - go run scripts/cheatsheet/main.go check - name: Check Vendor Directory # ensure our vendor directory matches up with our go modules run: | |