feat(dash): add route to service relationship views in dashboard #2754
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
concurrency: | |
group: ci-cli-tests-${{ github.ref_name }} | |
cancel-in-progress: true | |
env: | |
GOPROXY: https://proxy.golang.org | |
FATHOM_SITE: ${{ vars.FATHOM_SITE }} | |
jobs: | |
full-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: yaml-lint | |
uses: ibiqlik/action-yamllint@v3 | |
with: | |
file_or_dir: .github/workflows/ .golangci.yml .goreleaser.yaml | |
config_data: | | |
extends: default | |
rules: | |
new-line-at-end-of-file: | |
level: warning | |
trailing-spaces: | |
level: warning | |
line-length: | |
level: warning | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Download go modules | |
run: go mod download | |
- name: Run Lint | |
run: make lint | |
- name: Build | |
run: make build | |
- name: Run Tests | |
run: make test-coverage | |
other-os-build: | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest] | |
fail-fast: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: make build |