Skip to content

Commit

Permalink
install sszgen
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Mar 18, 2024
1 parent e15e4bd commit 2c994cc
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,33 @@ jobs:
with:
fetch-depth: 2

- name: Set up Go
- name: setup go
uses: actions/checkout@v4
with:
go-version: '^1.20.1'

- name: Check Go version
- name: check go version
run: go version

- name: Install dependencies
- name: install dependencies
working-directory: relayer
run: go mod download

- name: Install Mage
- name: install mage + sszgen
working-directory: relayer
run: go install github.com/magefile/mage@latest
run: |
go install github.com/magefile/mage@latest
github.com/ferranbt/fastssz/[email protected]
- name: Add GOPATH/bin to PATH
- name: Add gopath to bin
run: echo "$HOME/go/bin" >> $GITHUB_PATH

- name: Run Mage Build Task
- name: build
working-directory: relayer
run: mage build
env:
GO111MODULE: on

- name: Run tests
- name: test
working-directory: relayer
run: go test -v ./...

0 comments on commit 2c994cc

Please sign in to comment.