-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (37 loc) · 1.06 KB
/
latest-matrix.yaml
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: Latest Main Check
on:
push:
branches:
- main
- develop
- release/*
paths-ignore:
- '**.md'
defaults:
run:
shell: nu {0}
jobs:
test-matrix:
strategy:
matrix:
os: [windows-latest, ubuntu-22.04, macos-latest]
ver: [0.98.0, 0.97.1, 0.96.1, 0.95.0, 0.93.0, 0.92.2, 0.91.0, 0.90.1, 0.88.1, 0.87.1, 0.86]
runs-on: ${{ matrix.os }}
name: test (${{matrix.os}}, nu@${{matrix.ver}})
steps:
- uses: actions/checkout@v4
- name: Setup nu@${{matrix.ver}}
uses: hustcer/setup-nu@main
with:
enable-plugins: true
version: ${{matrix.ver}}
env:
ACTIONS_STEP_DEBUG: true
- name: Show Nu Version
run: print $'Nu version info:(char nl)'; print (version)
- name: Show env Variables
run: print $'Current env:(char nl)'; print $env
- name: Show Nu Binary Path
run: print $'Nu path:(which nu)(char nl)'
- name: Show Nu Package Contents
run: print $"(char nl)Dir contents:(char nl)"; print (ls ((which nu).path.0 | path dirname))