Skip to content

feat: add token file validation CI #18

feat: add token file validation CI

feat: add token file validation CI #18

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
uses: actions/checkout@v4
- name: Setup Go ^1.20
uses: actions/setup-go@v4
with:
go-version: '^1.20.5'
- name: Install and build
run: |
cd internal/validator
go install .
- name: Validate
run: |
validator --token-file=./pkg/token/token_meta.json