-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (56 loc) · 1.41 KB
/
test.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
46
47
48
49
50
51
52
53
54
55
56
name: Test
on: [push]
jobs:
load_on_all_supported_runner_systems:
name: Loads on ${{ matrix.os }}
strategy:
matrix:
os:
[
macOS-latest,
ubuntu-16.04,
ubuntu-18.04,
ubuntu-latest,
windows-2019,
windows-latest,
]
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ./
with:
version: 0.10.0 # specify version to reduce API response glitch risk
- run: reviewdog -version
load_specific_version:
name: Loads v${{matrix.version}}
strategy:
matrix:
version: ["latest", "0.10.0"]
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
version: ${{matrix.version}}
- run: reviewdog -version
load_specific_version_from_cache:
name: Loads v${{matrix.version}} from cache
strategy:
matrix:
version: ["0.10.0"]
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Initialize reviewdog@${{matrix.version}} cache
uses: ./
with:
version: ${{matrix.version}}
- run: reviewdog -version
- name: Use reviewdog@${{matrix.version}} from cache
uses: ./
with:
version: ${{matrix.version}}
- run: reviewdog -version