Skip to content

Commit

Permalink
Merge pull request #123 from widmogrod/feature/may-2024-1
Browse files Browse the repository at this point in the history
mkunion watch ./...
  • Loading branch information
widmogrod authored Jun 1, 2024
2 parents 79e28c0 + faa1c20 commit a51569d
Show file tree
Hide file tree
Showing 78 changed files with 1,146 additions and 681 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- run: go install github.com/matryer/moq@latest

- run: go get -v -t -d ./...
# generate code with mkunion
- run: ./cmd/mkunion/mkunion watch -g ./...

# generate code with go generate
- run: go generate ./...

- run: pip install awscli-local
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# generate the code, so docs have all files necessary to link to
- uses: actions/setup-go@v5
with:
go-version: ^1.21
id: go

- run: cd cmd/mkunion; go get -v -t -d ./...
- run: cd cmd/mkunion; go build -o mkunion

- run: go install github.com/matryer/moq@latest

- run: go get -v -t -d ./...
- run: go generate ./...

# generate documentation
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
Expand Down
Loading

0 comments on commit a51569d

Please sign in to comment.