Skip to content

infra: Add pull request presubmit checks, continuous main checks #1

infra: Add pull request presubmit checks, continuous main checks

infra: Add pull request presubmit checks, continuous main checks #1

Workflow file for this run

name: "presubmit"
on:
push:
branches:
- master
- release/*
tags:
- v*
pull_request:
concurrency:
group: ${{ github.workflow }}.${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
bazel-builder:
steps:

Check failure on line 18 in .github/workflows/presubmit.yml

View workflow run for this annotation

GitHub Actions / presubmit

Invalid workflow file

The workflow is not valid. .github/workflows/presubmit.yml (Line: 18, Col: 5): Required property is missing: runs-on .github/workflows/presubmit.yml (Line: 31, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v3
- name: Mount bazel cache
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: bazel
- name: run all tests
run: |
bazel test //...
golang-builder:
steps:
- uses: actions/checkout@v4
- name: run all tests
run: |
go build ./...
go test ./...