Skip to content

dev: update GettingStarted for adding refer commands #138

dev: update GettingStarted for adding refer commands

dev: update GettingStarted for adding refer commands #138

Workflow file for this run

name: CI
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install protoc-gen-go
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- name: Install protoc-gen-grpc-gateway
run: |
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
- name: Set up Protoc
uses: arduino/setup-protoc@v3
- name: Install buf
uses: bufbuild/buf-setup-action@v1
- name: Install Solhint
run: npm install -g solhint
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.foundry
~/go/pkg/mod
key: ${{ runner.os }}-deps-${{ hashFiles('foundry.toml') }}-${{ hashFiles('go.sum') }}
- name: Start suave-geth
run: make devnet-up
- name: Build
run: make build
# - name: Test
# run: make test
- name: Format check
run: make check-fmt
- name: Lint
run: make lint
- name: Stop suave-geth
if: always()
run: make devnet-down