Skip to content

Add GetCurrentUserCompartments() to v2; migrate GetAcctEntitlements() from v1 #92

Add GetCurrentUserCompartments() to v2; migrate GetAcctEntitlements() from v1

Add GetCurrentUserCompartments() to v2; migrate GetAcctEntitlements() from v1 #92

Workflow file for this run

name: Test
on: pull_request
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
e2e: [false, true]
timeout-minutes: 5
defaults:
run:
working-directory: ./src/github.com/${{ github.repository }}
env:
GOPATH: ${{ github.workspace }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
# check out actual commit that triggered event
ref: ${{ github.event.pull_request.head.sha }}
path: ./src/github.com/${{ github.repository }}
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.21.x
- name: Unit tests
if: ${{ !matrix.e2e }}
run: |
make test