aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/presubmit.yml
blob: df2130a0fbaf40db88a2a1960684754dd21d0a13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# //.github/workflows:presubmit.yml
#
# This file exists to define the steps executed for a push to each tree matching
# the pattern `refs/heads/*`, excluding the default ref. For configuring the
# steps that occur after a push to the trunk branch, see
# `//.github/workflows:trunk.yml`.
---
name: presubmit

on:
  push:
    branches-ignore:
      - master

concurrency:
  group: ${{ github.ref }}
  cancel-in-progress: true

jobs:
  lint:
    uses: ./.github/workflows/lint.yml

  build-and-test:
    uses: ./.github/workflows/build-and-test.yml
    secrets: inherit