Fix lint errors (#60) #77
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: integration | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: checkout lekkodev/integration-test | |
uses: actions/checkout@v3 | |
with: | |
repository: lekkodev/integration-test | |
token: ${{ secrets.LEKKO_CI_GITHUB_PAT }} | |
path: ci-integration-test | |
- name: run sidecar | |
run: | | |
cargo build | |
cargo run --bin sidecar -- --repo-path=$GITHUB_WORKSPACE/ci-integration-test --mode=static > sidecar-out.log 2>&1 & | |
- uses: bufbuild/buf-setup-action@v1 | |
with: | |
buf_user: ${{ secrets.BUF_USER }} | |
buf_api_token: ${{ secrets.BUF_API_TOKEN }} | |
github_token: ${{ secrets.LEKKO_CI_GITHUB_PAT }} | |
- name: read cargo logs | |
run: | | |
cat sidecar-out.log | |
- name: query sidecar | |
run: | | |
buf curl --data '{"namespace": "default", "key": "example", "repoKey": {"ownerName": "lekkodev", "repoName": "integration-test"}}' --protocol grpc --http2-prior-knowledge --schema buf.build/lekkodev/sdk http://localhost:50051/lekko.client.v1beta1.ConfigurationService/GetBoolValue |