Skip to content

Commit

Permalink
chore: replace clone with buf generate (#46)
Browse files Browse the repository at this point in the history
* chore: replace clone with buf generate

* chore: dont need setup go anymore
  • Loading branch information
markphelps authored Aug 11, 2023
1 parent 4b0f1b9 commit b88286d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/proto-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
- uses: bufbuild/[email protected]
with:
go-version: "1.20"
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Clone Flipt into sub-directory
run: gh repo clone flipt-io/flipt
env:
GH_TOKEN: ${{ github.token }}

- name: Bootstrap Tools
uses: magefile/mage-action@v2
with:
version: latest
args: bootstrap
workdir: ./flipt

- name: Buf Generate
run: buf generate

- name: Remove Flipt
run: rm -rf ./flipt/
- name: Generate
run: |
buf generate buf.build/flipt-io/flipt
- name: Prepare Branch
env:
Expand Down
3 changes: 0 additions & 3 deletions buf.work.yaml

This file was deleted.

0 comments on commit b88286d

Please sign in to comment.