Skip to content

chore: fixed linting #148

chore: fixed linting

chore: fixed linting #148

Workflow file for this run

name: test
on: [push]
jobs:
go-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: '^1.21.0'
- run: go version
- run: go mod download
- run: go build ./cmd/cosmos-validators-exporter.go
go-vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: '^1.21.0'
- run: go version
- run: go mod download
- run: go vet ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
args: --timeout 300s