fix: rewrite golangci-lint config in proper v2 format #81
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: API Compatibility | |
| on: | |
| push: | |
| branches: [ main, v*.*.* ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| api-compatibility: | |
| name: Check API Compatibility | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Build SDK | |
| run: go build -v ./... | |
| - name: Run API tests | |
| run: go test -v ./pkg/core/config/... ./pkg/core/interfaces/... ./pkg/services/... | |
| - name: Run dependent project tests | |
| run: ./scripts/test_dependent_projects.sh | |
| continue-on-error: true |