Skip to content

Lock Ubuntu at 22.04 for CPP / Rust Test Workflow (#1286) #2020

Lock Ubuntu at 22.04 for CPP / Rust Test Workflow (#1286)

Lock Ubuntu at 22.04 for CPP / Rust Test Workflow (#1286) #2020

Workflow file for this run

name: Golang Test
on:
push:
branches:
- master
- release-6.0
- release-5.0
- release-4.0
- release-3.0
pull_request:
branches:
- master
- release-6.0
- release-5.0
- release-4.0
- release-3.0
jobs:
golang-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Download protoc
env:
PROTOC_VERSION: "3.8.0"
run: |
curl -L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-linux-x86_64.zip -o protoc.zip &&\
unzip protoc.zip -d protoc
- name: Test Golang
run: |
export PATH="$(pwd)/protoc/bin:$PATH"
make go && git diff --quiet go.mod go.sum