-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (44 loc) · 1.2 KB
/
rtx.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: rtx
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
schedule:
# Every 10:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 1 * * *'
workflow_dispatch:
jobs:
plugin-test:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
target:
- command: rtx x zigmod@latest -- zigmod version
- command: rtx x zigmod@v51 -- zigmod version
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: jdxcode/rtx-action@v1
with:
tool_versions: |
# Should not set cargo-make versions here. (Actually shellcheck is not used here)
shellcheck 0.9.0
- name: Setup rtx
run: |
rtx plugins install zigmod https://github.com/kachick/asdf-zigmod.git#${{ github.ref }}
- name: Test
run: |
${{ matrix.target.command }}
env:
# https://github.com/jdxcode/rtx/issues/188#issuecomment-1441835716
RTX_MISSING_RUNTIME_BEHAVIOR: autoinstall