Skip to content

Add GitHub actions presubmit checks #1

Add GitHub actions presubmit checks

Add GitHub actions presubmit checks #1

Workflow file for this run

name: Presubmit
on:
push:
branches:
- 'master'
pull_request:
jobs:
test-matrix:
strategy:

Check failure on line 11 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: 11, Col: 5): Required property is missing: runs-on
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Configure
run: |
echo "build --compilation_mode=opt" > $HOME/.bazelrc
echo "build --disk_cache=$HOME/.cache/bazel/" >> $HOME/.bazelrc
echo "build --announce_rc" >> $HOME/.bazelrc
echo "build --keep_going" >> $HOME/.bazelrc
echo "build --strategy=Javac=worker" >> $HOME/.bazelrc
echo "build --build_tag_filters=-no$TRAVIS_OS_NAME" >> $HOME/.bazelrc
echo "test --test_tag_filters=-no$TRAVIS_OS_NAME" >> $HOME/.bazelrc
echo "test --test_output=errors" >> $HOME/.bazelrc
echo "test --test_verbose_timeout_warnings" >> $HOME/.bazelrc