• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CI
2
3on: [push, pull_request]
4
5jobs:
6  build:
7    runs-on: ubuntu-latest
8    steps:
9      - uses: actions/checkout@v2
10      - uses: actions-rs/toolchain@v1
11        with:
12          profile: minimal
13          toolchain: stable
14          components: clippy
15      - name: Build
16        uses: actions-rs/cargo@v1
17        with:
18          command: build
19      - name: Test
20        uses: actions-rs/cargo@v1
21        with:
22          command: test
23      - name: Clippy
24        uses: actions-rs/cargo@v1
25        with:
26          command: clippy
27      - name: Docs
28        uses: actions-rs/cargo@v1
29        with:
30          command: doc
31      - name: Build for no_std
32        uses: actions-rs/cargo@v1
33        with:
34          command: build
35          args: --no-default-features
36      - name: Test for no_std
37        uses: actions-rs/cargo@v1
38        with:
39          command: test
40          args: --no-default-features
41      - name: Clippy for no_std
42        uses: actions-rs/cargo@v1
43        with:
44          command: clippy
45          args: --no-default-features
46      - name: Docs for no_std
47        uses: actions-rs/cargo@v1
48        with:
49          command: doc
50          args: --no-default-features
51