-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 938 Bytes
/
build.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
name: build
on:
push:
branches: [ "main" ]
pull_request:
paths:
- "*Cargo.*"
- "**/*.rs"
- ".github/workflows/*.yml"
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build
- name: Test
run: cargo test
run:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
needs: build
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install
run: cargo install --quiet --path sqdj
- name: Run
run: |
cat sqdj/src/assets/example-paths.txt | sqdj -f 1 -l 2 -r 'billing|utils'