Copy platform provider kubernetes under the plugin directory (#5250) #339
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: test_tool | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- tool/** | |
pull_request: | |
branches: | |
- master | |
- 'release-v*' | |
paths: | |
- tool/** | |
env: | |
GO_VERSION: 1.22.4 | |
NODE_VERSION: 16.13.0 | |
jobs: | |
tool: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
cache: true | |
- name: Run unit tests for actions-plan-preview | |
working-directory: tool/actions-plan-preview | |
run: go test ./... | |
- name: Run unit tests for actions-gh-release | |
working-directory: tool/actions-gh-release | |
run: go test ./... |