Skip to content

Check build

Check build #11

Workflow file for this run

name: Check Example
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check_docker_build:
runs-on: ubuntu-latest
name: Check Docker Build
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Checkout repository
uses: actions/checkout@v4
- name: Build
uses: docker/build-push-action@v6
with:
context: ./example/multiple_package/server
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
check_make_protoc:
runs-on: ubuntu-latest
name: Check `make protoc`
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "27.x"
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/setup-go@v5

Check failure on line 36 in .github/workflows/example.yml

View workflow run for this annotation

GitHub Actions / Check Example

Invalid workflow file

The workflow is not valid. .github/workflows/example.yml (Line: 36, Col: 7): 'uses' is already defined
with:
go-version: '1.23'
- uses: ruby/setup-ruby@v1
with:
working-directory: example/multiple_package/
- name: Install grpc_tools_ruby_protoc
run: gem install grpc-tools
- name: Check
run: cd example/multiple_package/ && make protoc && git diff --exit-code