Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Nov 19, 2023
1 parent 3eb7f8c commit 9713368
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install protobuf compiler
shell: bash
run: |
mkdir -p $HOME/d/protoc
cd $HOME/d/protoc
export PROTO_ZIP="protoc-21.4-linux-x86_64.zip"
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
unzip $PROTO_ZIP
chmod +x $HOME/d/protoc/bin/protoc
export PROTOC=$HOME/d/protoc/bin
export PATH=$PATH:$PROTOC
protoc --version
run: sudo apt-get install protobuf-compiler
- name: Build Rust code
run: |
export PROTOC=$HOME/d/protoc/bin
export PATH=$PATH:$PROTOC
protoc --version
cargo build --verbose
run: cargo build --verbose
- name: Run tests
run: |
export PROTOC=$HOME/d/protoc/bin
export PATH=$PATH:$PROTOC
protoc --version
cargo test --verbose
run: cargo test --verbose

0 comments on commit 9713368

Please sign in to comment.