Skip to content

Merge pull request #11 from opticdev/feat/go/hoppscotch-example #21

Merge pull request #11 from opticdev/feat/go/hoppscotch-example

Merge pull request #11 from opticdev/feat/go/hoppscotch-example #21

name: optic
on:
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: apps/bookstore-api
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Optic
run: npm install --location global @useoptic/optic
- name: Run Optic
env:
OPTIC_TOKEN: ${{ secrets.OPTIC_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: optic run