feat: export realms from client #1527
Workflow file for this run
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: Go Work Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| pull-requests: write | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.work | |
| - name: Check if go work sync/vendor is clean | |
| run: |- | |
| go work sync | |
| go work vendor | |
| if [[ -n "$(git status --porcelain)" ]]; then | |
| echo "::error::Go work sync/vendor files need to be updated. Please run 'go work sync' and 'go mod vendor' and commit the changes." | |
| git status | |
| git diff | |
| exit 1 | |
| fi |