Skip to content

Update dependencies #21

Update dependencies

Update dependencies #21

Workflow file for this run

---
name: Update dependencies
on:
schedule:
- cron: '0 */8 * * *'
workflow_dispatch:
jobs:
updatedeps:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: "1.19.x"
env:
GOARCH: "amd64"
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install protoc-gen-go
run: |
go install github.com/golang/protobuf/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
- name: Update deps
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: make update-external-dependencies
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
commit-message: update external dependencies
title: Update external dependencies
body: Check for new images, test vectors and proto files and update the code to use them.
branch: update-external-dependencies
base: develop
author: int-bot <[email protected]>