feat: add an advanced option that will override the v2 in the config url with v1 #200
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Examples | |
## For anyone looking to change this (Internal to DevCycle) - the project is here: https://app.devcycle.com/o/org_U9F8YMaTChTEndWw/p/git-hub-actions-integration-tests/features/6642210af1c941418857b237 | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_examples: | |
name: Test Examples | |
runs-on: ubuntu-latest | |
env: | |
DEVCYCLE_SERVER_SDK_KEY: ${{ secrets.DEVCYCLE_SERVER_SDK_KEY }} | |
DEVCYCLE_VARIABLE_KEY: go-example-tests | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
- name: Run local bucketing example | |
run: | | |
go run ./example/local | |
- name: Run cloud bucketing example | |
run: | | |
go run ./example/cloud | |
- name: Run openfeature example | |
run: | | |
go run ./example/openfeature |