feat(auth): Add QueryUsers API
#744
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: Continuous Integration | |
| on: pull_request | |
| jobs: | |
| module: | |
| name: Module build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go: ['1.23', '1.24'] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go ${{ matrix.go }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Install golint | |
| run: go install golang.org/x/lint/golint@latest | |
| - name: Run Linter | |
| run: | | |
| golint -set_exit_status ./... | |
| - name: Run Unit Tests | |
| if: success() || failure() | |
| run: go test -v -race -test.short ./... | |
| - name: Run Formatter | |
| run: | | |
| if [[ ! -z "$(gofmt -l -s .)" ]]; then | |
| echo "Go code is not formatted:" | |
| gofmt -d -s . | |
| exit 1 | |
| fi | |
| - name: Run Static Analyzer | |
| run: go vet -v ./... |