-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.07 KB
/
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
name: 'CI checks'
on: ['push', 'pull_request']
jobs:
coding-style:
runs-on: 'ubuntu-latest'
name: 'Check coding style'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
- name: Install elastic-package binary
uses: jaxxstorm/action-install-gh-release@v1.10.0
with: # Grab a specific tag
repo: elastic/elastic-package
tag: v0.85.0
- name: Lint package
run: elastic-package check -v
install-check:
runs-on: 'ubuntu-latest'
name: 'Check installation'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
- name: Install elastic-package binary
uses: jaxxstorm/action-install-gh-release@v1.10.0
with: # Grab a specific tag
repo: elastic/elastic-package
tag: v0.85.0
- name: Setup stack
run: |
eval "$(elastic-package stack shellinit)"
elastic-package stack up -d -v
- name: Run install
run: |-
eval "$(elastic-package stack shellinit)"
elastic-package install -v