tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1077HTML 1008Markdown 12TOML 83209 Definiciones

⎇ cef2c1f6ee076b2c0a00a95c5f19939e8a3359ee .github/workflows/ci.yml YAML · 95 líneas · 2.3 KB Historia crudo

Bump actions/checkout from 2 to 3 (#68) cef2c1f6e · dependabot[bot] ·

1on: [push, pull_request]
2
3name: Continuous integration
4
5jobs:
6  test-features-none:
7    name: "Test Suite [Features: None]"
8    runs-on: ubuntu-latest
9    steps:
10      - uses: actions/checkout@v3
11      - uses: actions-rs/toolchain@v1
12        with:
13          profile: minimal
14          toolchain: stable
15          override: true
16      - uses: actions-rs/cargo@v1
17        with:
18          command: test
19          args: --no-default-features
20
21  test-features-default:
22    name: "Test Suite [Features: Default]"
23    runs-on: ubuntu-latest
24    steps:
25      - uses: actions/checkout@v3
26      - uses: actions-rs/toolchain@v1
27        with:
28          profile: minimal
29          toolchain: stable
30          override: true
31      - uses: actions-rs/cargo@v1
32        with:
33          command: test
34
35  test-features-alloc:
36    name: "Test Suite [Features: alloc]"
37    runs-on: ubuntu-latest
38    steps:
39      - uses: actions/checkout@v3
40      - uses: actions-rs/toolchain@v1
41        with:
42          profile: minimal
43          toolchain: stable
44          override: true
45      - uses: actions-rs/cargo@v1
46        with:
47          command: test
48          args: --no-default-features --features alloc
49
50  fmt:
51    name: Rustfmt
52    runs-on: ubuntu-latest
53    steps:
54      - uses: actions/checkout@v3
55      - uses: actions-rs/toolchain@v1
56        with:
57          profile: minimal
58          toolchain: stable
59          override: true
60      - run: rustup component add rustfmt
61      - uses: actions-rs/cargo@v1
62        with:
63          command: fmt
64          args: --all -- --check
65
66  clippy:
67    name: Clippy
68    runs-on: ubuntu-latest
69    steps:
70      - uses: actions/checkout@v3
71      - uses: actions-rs/toolchain@v1
72        with:
73          profile: minimal
74          toolchain: stable
75          override: true
76      - run: rustup component add clippy
77      - uses: actions-rs/cargo@v1
78        with:
79          command: clippy
80          args: -- -D warnings
81  
82  markdownlint:
83    name: Markdown Lint
84    runs-on: ubuntu-latest
85    steps:
86      - uses: actions/checkout@v3
87        with:
88          # Full git history is needed to get a proper list of changed files within `super-linter`
89          fetch-depth: 0
90      - name: Run Markdown Lint
91        uses: docker://ghcr.io/github/super-linter:slim-v4
92        env:
93          VALIDATE_ALL_CODEBASE: true
94          VALIDATE_MARKDOWN: true
95          DEFAULT_BRANCH: master