Skip to content

feat: add token file validation CI #4

feat: add token file validation CI

feat: add token file validation CI #4

Workflow file for this run

name: CI
defaults:
run:
shell: bash -ieo pipefail {0}
on:
pull_request:
branches:
- master
jobs:
validate-token-meta:
name: Validate token meta json
runs-on: ubuntu-latest
steps:
- name: Checkout tokens-file-validator
uses: actions/checkout@v4
with:
repository: InjectiveLabs/token-meta-validator
ref: master
token: ${{ secrets.GH_PAT }}
- name: Setup Go ^1.21
uses: actions/setup-go@v4
with:
go-version: '^1.21.6'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./... -o validate
- name: Validate
run: validate ./pkg/token/token_meta.json