Changes to interfaces #5
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: Audit | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
types: [ opened, labeled, unlabeled, synchronize, reopened, edited ] | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: "23.2" | |
- name: Set up protobuf for Go | |
working-directory: examples/connector/golang | |
run: go install google.golang.org/protobuf/cmd/[email protected] | |
- name: Set up protoc-gen-go | |
working-directory: examples/connector/golang | |
run: go install google.golang.org/grpc/cmd/[email protected] | |
- name: Set up Go protoc path | |
working-directory: examples/connector/golang | |
run: export PATH="$PATH:$(go env GOPATH)/bin" | |
- name: Verify dependencies | |
working-directory: examples/connector/golang | |
run: go mod verify | |
- name: Build Go connector | |
working-directory: examples/connector/golang | |
run: scripts/build.sh | |
- name: Run go vet | |
working-directory: examples/connector/golang | |
run: go vet ./... | |
- name: Install staticcheck | |
run: go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Run staticcheck | |
working-directory: examples/connector/golang | |
run: staticcheck ./... | |
- name: Install golint | |
run: go install golang.org/x/lint/golint@latest | |
- name: Run golint | |
working-directory: examples/connector/golang | |
run: golint ./... | |
- name: Run tests | |
working-directory: examples/connector/golang | |
run: go test -race -vet=off ./... | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: 8.5 | |
- name: Run Java connector copyProtos | |
working-directory: examples/connector/java | |
run: gradle copyProtos | |
- name: Run Java connector test with Gradle Wrapper | |
working-directory: examples/connector/java | |
run: gradle build | |
- name: Run Java destination copyProtos | |
working-directory: examples/destination/java | |
run: gradle copyProtos | |
- name: Run Java destination test with Gradle Wrapper | |
working-directory: examples/destination/java | |
run: gradle build |