Skip to content

Update semgrep.yml (#17) #43

Update semgrep.yml (#17)

Update semgrep.yml (#17) #43

Workflow file for this run

name: Check
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "~/.cache/bazel"
key: bazel
- run: bazel --bazelrc=tools/ci.bazelrc build //...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "~/.cache/bazel"
key: bazel
- run: bazel --bazelrc=tools/ci.bazelrc run //:golangcilint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "~/.cache/bazel"
key: bazel
- run: bazel --bazelrc=tools/ci.bazelrc test //...