Fix panic when determining cluster domain. #58
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 and Lint" | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout local | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: stable | |
- name: Lint | |
run: | | |
make lint | |
unittest: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout local | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: "${{ github.event.pull_request.head.sha }}" | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: stable | |
- name: go unit tests | |
run: | | |
make go-unit-test | |
- name: Report Success | |
run: echo "::set-output name=run_result::success" > run_result |