feat!: remove dependency on go-chi/chi #268
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: 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 | |
strategy: | |
matrix: | |
version: [ 'stable', 'oldstable', '1.22' ] | |
name: Go ${{ matrix.version }} | |
outputs: | |
pr_number: ${{ github.event.number }} | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.version }} | |
- uses: actions/checkout@v4 | |
- run: GOTOOLCHAIN=local make test | |
call-dependabot-pr-workflow: | |
needs: test | |
if: ${{ success() && github.actor == 'dependabot[bot]' }} | |
uses: pivotal-cf/brokerapi/.github/workflows/dependabot-test.yml@main | |
with: | |
pr_number: ${{ github.event.number }} |