feat: normalise dashboard connection url #1117
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: "Enforcing go mod tidy in PRs Workflow" | |
on: [pull_request] | |
jobs: | |
go_mod_tidy_job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up go | |
uses: actions/setup-go@v5 | |
- name: Create a new git repository | |
run: rm -rf .git && git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- name: Go mod tidy for root project | |
run: go mod tidy | |
- name: Go mod tidy for example apps | |
working-directory: ./examples | |
run: go mod tidy | |
- name: Go mod tidy for test server | |
working-directory: ./test/test-server | |
run: go mod tidy | |
- name: git status | |
run: git status | |
- name: Check for file changes by go mod tidy | |
run: git status | grep -q 'nothing to commit, working tree clean' && exit 0 || exit 1 |