fork/nucleo

git clone https://git.julia.blue/fork/nucleo

Pascal Kuthefeature gate unicode support in nucleo-matcher8b22bc2

nucleo-v0.2.1
1.7 KiB73 linesraw
1name: CI
2on:
3  pull_request:
4  push:
5    branches:
6      - master
7
8jobs:
9  check-msrv:
10    name: Check
11    strategy:
12      matrix:
13        toolchain:
14          - "1.65"
15          - stable
16    runs-on: ubuntu-latest
17    steps:
18      - name: Checkout sources
19        uses: actions/checkout@v3
20
21      - name: Install toolchain
22        uses: dtolnay/rust-toolchain@master
23        with:
24          toolchain: ${{ matrix.toolchain}}
25
26      - uses: Swatinem/rust-cache@v2
27
28      - name: Run cargo check
29        run: cargo check
30      - name: Run cargo check withoult default features
31        run: cargo check --no-default-features
32
33  test:
34    name: Test
35    runs-on: ubuntu-latest
36    steps:
37      - name: Checkout sources
38        uses: actions/checkout@v3
39
40      - name: Install stable toolchain
41        uses: dtolnay/rust-toolchain@stable
42
43      - uses: Swatinem/rust-cache@v2
44
45      - name: Run cargo test
46        run: cargo test --workspace
47
48  lints:
49    name: Lints
50    runs-on: ubuntu-latest
51    steps:
52      - name: Checkout sources
53        uses: actions/checkout@v3
54
55      - name: Install stable toolchain
56        uses: dtolnay/rust-toolchain@stable
57        with:
58          components: rustfmt, clippy
59
60      - uses: Swatinem/rust-cache@v2
61
62      - name: Run cargo fmt
63        run: cargo fmt --all --check
64
65      - name: Run cargo clippy
66        run: cargo clippy --workspace --all-targets -- -D warnings
67      - name: Run cargo clippy withoult default features
68        run: cargo clippy --workspace --all-targets --no-default-features -- -D warnings
69
70      - name: Run cargo doc
71        run: cargo doc --no-deps --workspace --document-private-items
72        env:
73          RUSTDOCFLAGS: -D warnings