fork/feed-rs

git clone https://git.julia.blue/fork/feed-rs

Mark PritchardMerge pull request #135 from feed-rs/update-rust-1.55.0099f822

fuzz-fixes
1.4 KiB65 linesraw
1on: push
2
3name: Continuous integration
4
5jobs:
6  ci:
7    runs-on: ubuntu-latest
8    strategy:
9      fail-fast: false
10      matrix:
11        # 1.55.0 is used in freedesktop sdk - tracks https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/master/elements/components/rust.bst#L130
12        rust: [stable, 1.55.0]
13        experimental: [false]
14
15        # also test on beta + nightly for advance warning of breakage
16        include:
17          - rust: beta
18            experimental: true
19          - rust: nightly
20            experimental: true
21    continue-on-error: ${{ matrix.experimental }}
22
23    steps:
24      - uses: actions/checkout@v2
25
26      - uses: actions-rs/toolchain@v1
27        with:
28          profile: minimal
29          toolchain: ${{ matrix.rust }}
30          override: true
31
32      - uses: actions-rs/cargo@v1
33        with:
34          command: build
35
36      - uses: actions-rs/cargo@v1
37        with:
38          command: test
39
40  quality:
41    runs-on: ubuntu-latest
42    strategy:
43      matrix:
44        rust:
45          - stable
46
47    steps:
48      - uses: actions/checkout@v2
49
50      - uses: actions-rs/toolchain@v1
51        with:
52          profile: minimal
53          toolchain: ${{ matrix.rust }}
54          override: true
55          components: rustfmt, clippy
56
57      - uses: actions-rs/cargo@v1
58        with:
59          command: fmt
60          args: --all -- --check
61
62      - uses: actions-rs/cargo@v1
63        with:
64          command: clippy
65          args: -- -D warnings