Skip to content

Initial commit for databrickslabs/sandbox/acceptance #37

Initial commit for databrickslabs/sandbox/acceptance

Initial commit for databrickslabs/sandbox/acceptance #37

name: acceptance
on:
pull_request:
types: [opened, synchronize]
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
acceptance:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# - uses: azure/login@v1
# with:
# client-id: ${{ var.ARM_CLIENT_ID }}
# tenant-id: ${{ secrets.ARM_TENANT_ID }}
# subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
- name: DEBUG
run: |
echo "$GITHUB_CONTEXT"
env | sort
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Acceptance
uses: databrickslabs/sandbox/acceptance@gh-action
with:
directory: go-libs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}