Skip to content

Merge pull request #143 from grab/use-path-variables-and-use-latest-l… #288

Merge pull request #143 from grab/use-path-variables-and-use-latest-l…

Merge pull request #143 from grab/use-path-variables-and-use-latest-l… #288

Workflow file for this run

name: Build workflow
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bazel build
uses: ./.github/actions/bazel
with:
bazel-command: run
bazel-targets: //:buildifier -- --mode=check -r $(pwd)
cache-key: bazel-lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bazel build
uses: ./.github/actions/bazel
with:
bazel-command: build
bazel-targets: //...
cache-key: bazel-build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bazel test
uses: ./.github/actions/bazel
with:
bazel-command: test
bazel-targets: //...
cache-key: bazel-test