fix: Broker version should be correctly set as v2.0.0 (#1010) #1714
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: run-tests | |
on: | |
workflow_call: | |
outputs: | |
pr_number: | |
description: "The PR number" | |
value: ${{ jobs.test.outputs.pr_number }} | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Go test | |
outputs: | |
pr_number: ${{ github.event.number }} | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.2' | |
- uses: actions/checkout@v4 | |
- run: make test | |
call-dependabot-pr-workflow: | |
needs: test | |
if: ${{ success() && github.actor == 'dependabot[bot]' }} | |
uses: cloudfoundry/cloud-service-broker/.github/workflows/dependabot-test.yml@main | |
with: | |
pr_number: ${{ github.event.number }} |