Skip to content

fix(hub): turn hub's list of registered denoms into map #837

fix(hub): turn hub's list of registered denoms into map

fix(hub): turn hub's list of registered denoms into map #837

Workflow file for this run

name: Build and Test
on:
push:
tags:
- v*
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
GOPRIVATE: "github.com/dymensionxyz/*"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
steps:
- uses: actions/checkout@v3
- run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v4
with:
go-version-file: go.mod
- name: Test
run: go test ./...
lint:
runs-on: ubuntu-latest
env:
GOPRIVATE: "github.com/dymensionxyz/*"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.22.1
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.5.0
with:
args: --timeout=5m0s
version: v1.56.2
- name: markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.2.0
with:
files: .
config_file: .markdownlint.yaml