-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.02 KB
/
setup-jikkou.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
name: 'Setup Jikkou'
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
jobs:
jikkou-no-wrapper:
name: 'Jikkou Versions'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
jikkou-versions: [0.29.0, latest]
steps:
- name: Checkout GitHub repository
uses: actions/checkout@v4
with:
clean: true
- name: Setup Jikkou - ${{ matrix['jikkou-versions'] }}
uses: ./
with:
jikkou_version: ${{ matrix['jikkou-versions'] }}
jikkou_config: ./config/jikkouconfig.json
jikkou_wrapper: false
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }}
if: ${{ matrix['jikkou-versions'] != 'latest' }}
run: jikkou -V | grep ${{ matrix['jikkou-versions']}}
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }}
if: ${{ matrix['jikkou-versions'] == 'latest' }}
run: jikkou -V | grep 'Jikkou version'