-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes pre 0.3.0 release (#23)
- Loading branch information
1 parent
4df678a
commit ce1e47f
Showing
8 changed files
with
98 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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: protobuf-check | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
|
||
protobuf-check: | ||
name: protobuf-check | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: checkout-dfinity | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: dfinity-lab/dfinity | ||
token: ${{ secrets.GH_TOKEN }} | ||
path: dfinity | ||
|
||
- name: setup-protoc | ||
run: | | ||
mkdir -p ~/.local/bin | ||
pushd ${{ runner.temp }} | ||
curl -L -o protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip | ||
unzip protoc.zip | ||
cp bin/protoc ~/.local/bin | ||
popd | ||
- name: check | ||
run: | | ||
export PATH=~/.local/bin:$PATH | ||
pushd dfinity/rs/rosetta-api/canister | ||
protoc \ | ||
--js_out \ | ||
import_style=commonjs,binary:${{ github.workspace }}/autogen \ | ||
--proto_path proto \ | ||
--proto_path ../../types/base_types/proto \ | ||
proto/types.proto \ | ||
../../types/base_types/proto/ic_base_types/pb/v1/types.proto | ||
popd | ||
git diff --exit-code |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
autogen/ | ||
dist/ | ||
node_modules/ | ||
.idea/ | ||
|
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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