Skip to content

fix gate provider candle parsing (#313) (#315) #915

fix gate provider candle parsing (#313) (#315)

fix gate provider candle parsing (#313) (#315) #915

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- umee
- release/**
jobs:
golangci:
name: Run golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
- uses: actions/setup-go@v3
if: env.GIT_DIFF
with:
go-version: 1.21
cache: true
- name: revive lint
uses: morphy2k/revive-action@v2
with:
config: .revive.toml
exclude: "*.pb.go;*.pb.gw.go;*.pulsar.go;swagger/..."
path: "./..."
- name: golangci-lint umee
uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
with:
version: latest
args: --timeout 8m
- name: golangci-lint pricefeeder
uses: golangci/golangci-lint-action@v3
if: ${{ contains(env.GIT_DIFF, 'price-feeder/') }}
with:
version: latest
working-directory: price-feeder
args: --timeout 8m
super-linter:
name: Run super-linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files
# within `super-linter`.
fetch-depth: 0
- name: Run super-linter
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}