1# //.github/workflows:presubmit.yml
2#
3# This file exists to define the steps executed for a push to each tree matching
4# the pattern `refs/heads/*`, excluding the default ref. For configuring the
5# steps that occur after a push to the trunk branch, see
6# `//.github/workflows:trunk.yml`.
7---
8name: presubmit
9
10on:
11 push:
12 branches-ignore:
13 - master
14
15concurrency:
16 group: ${{ github.ref }}
17 cancel-in-progress: true
18
19jobs:
20 lint:
21 uses: ./.github/workflows/lint.yml
22
23 build-and-test:
24 uses: ./.github/workflows/build-and-test.yml
25 secrets: inherit