Skip to content

fix: bug with show cmd (#219) #42

fix: bug with show cmd (#219)

fix: bug with show cmd (#219) #42

Workflow file for this run

name: Release (with lint and test)
on:
push:
tags:
- "*"
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: .
args: --timeout 3m
test:
name: Golang Unit Tests v${{ matrix.go }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go mod download
- run: scripts/build.sh
- run: make tests
release:
needs: [lint, test]
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
path: eigenlayer-cli
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: ./eigenlayer-cli/
env:
#https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TELEMETRY_TOKEN: ${{ secrets.TELEMETRY_TOKEN }}