Merge pull request #4823 from camilamacedo86/external-plugin-fix #37
This file contains hidden or 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: External Plugin | |
on: | |
push: | |
paths: | |
- 'pkg/' | |
- 'docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin' | |
- '.github/workflows/external-plugin.yml' | |
pull_request: | |
paths: | |
- 'pkg/' | |
- 'docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin' | |
- '.github/workflows/external-plugin.yml' | |
jobs: | |
external: | |
name: Verify external plugin | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run tests | |
run: make test-external-plugin | |