-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace clone with buf generate (#46)
* chore: replace clone with buf generate * chore: dont need setup go anymore
- Loading branch information
1 parent
4b0f1b9
commit b88286d
Showing
2 changed files
with
5 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
This file was deleted.
Oops, something went wrong.