Skip to content

Commit

Permalink
Remove compiler installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun-m committed May 30, 2024
1 parent 8188a86 commit 612eb54
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,10 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Set up Poetry
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
uses: snok/install-poetry@v1
with:
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
run: cd sdk ; poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
python-version: "3.11"

- name: Cache Go modules
uses: actions/cache@v3
Expand All @@ -121,6 +105,7 @@ jobs:
- name: Install Protobuf Compilers
run: |
python3 -m pip install -U betterproto-beta9
sudo apt install protobuf-compiler
sudo apt install golang-goprotobuf-dev
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
Expand Down

0 comments on commit 612eb54

Please sign in to comment.