Generate stringer files automatically #841

Merged
g4s8 merged 6 commits from 543-stringer-generate into main 2021-11-08 08:38:55 -06:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 67bd1b00f6 - Show all commits

View File

@ -120,4 +120,4 @@ jobs:
- name: Generate files
run: make generate
- name: Check nothing changed
run: git diff --quiet --exit-code || (echo "detected changes after generate" && exit 1)
run: git diff --quiet --exit-code || (echo "detected changes after generate" ; git status ; exit 1)
lhchavez commented 2021-11-08 08:27:42 -06:00 (Migrated from github.com)
Review
        sudo apt-get install -y --no-install-recommends libssh2-1-dev
        go install golang.org/x/tools/cmd/stringer@latest

haha, stringer wasn't installed! (and we may need to tweak PATH unless GH does it for us)

```suggestion sudo apt-get install -y --no-install-recommends libssh2-1-dev go install golang.org/x/tools/cmd/stringer@latest ``` haha, `stringer` wasn't installed! (and we may need to tweak `PATH` unless GH does it for us)