-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (41 loc) · 942 Bytes
/
tests.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
39
40
41
42
43
44
45
name: tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run:
make test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# This fetches all branches and tags, which helps us lint that we're using the current version
# in our examples.
fetch-depth: 0
- run:
make lint
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x
renovate-config:
name: Validate Renovate config
runs-on: ubuntu-latest
env:
RENOVATE_CONFIG_FILE: renovate.json
steps:
- uses: actions/checkout@v3
- name: testing Renovate config
run: npx -p renovate renovate-config-validator