Skip to content

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
setup:
runs-on: ubuntu-20.04
steps:

Check failure on line 13 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
- uses: bazel-contrib/setup-bazel@7.1.1
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
build:
needs: setup
runs-on: ubuntu-20.04
steps:
- run: bazel build src/main:hello_world
test:
needs: build
runs-on: ubuntu-20.04
steps:
- run: bazel test test/...