fix(deps): update grpc version #587
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
# build the image on PRs | |
name: PR | |
on: | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- '.github/workflows/master.yml' | |
- '.github/workflows/*release.yml' | |
jobs: | |
pr-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: nelonoel/[email protected] | |
- name: Docker Login | |
env: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USER }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN" | |
- name: Create Short Commit Sha | |
id: sha_short | |
if: success() | |
run: echo ::set-output name=SHA_SHORT::$(git rev-parse --short HEAD) | |
- name: Build | |
if: success() | |
env: | |
VERSION: ${{ steps.sha_short.outputs.SHA_SHORT }} | |
run: make build | |
- name: Test | |
if: success() | |
env: | |
CONTAINER: docker.io/namely/protoc-all:${{ steps.sha_short.outputs.SHA_SHORT }} | |
run: make test | |
- name: Test Gateway | |
if: success() | |
env: | |
CONTAINER: docker.io/namely/gen-grpc-gateway:${{ steps.sha_short.outputs.SHA_SHORT }} | |
run: make test-gwy |