feat: Add DAS data encoding and decoding functionality using c-kzg4844 #33
Workflow file for this run
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
name: Go CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- name: Initialize Git submodules | |
run: | | |
git submodule init | |
git submodule update | |
- name: Install dependencies | |
run: make deps | |
- name: Run go fmt | |
run: make fmt | |
- name: Run go vet | |
run: make vet | |
# - name: Run golint | |
# run: | | |
# go install golang.org/x/lint/golint@latest | |
# OUTPUT=$(golint ./... | grep -v c-kzg-4844); \ | |
# echo "${OUTPUT}"; \ | |
# if [ -n "${OUTPUT}" ]; then \ | |
# echo "Linting issues found"; \ | |
# exit 1; \ | |
# fi | |
- name: Run tests | |
run: make test | |
- name: Build binaries | |
run: make build |