-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (31 loc) · 792 Bytes
/
ci.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
# These workflows have been nicked from https://github.com/influxdata/grafana-flightsql-datasource
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
# All nested workflows will inherit these permissions and so no need to declare
# in each step file
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
uses: ./.github/workflows/step_lint.yml
build:
needs: [lint]
uses: ./.github/workflows/step_build.yml
e2e-tests:
needs: [build]
uses: ./.github/workflows/step_e2e-tests.yml
package:
needs: [build, e2e-tests]
uses: ./.github/workflows/step_package.yml
# For nightly build releases
permissions:
contents: write