fork/feed-rs

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

Mark PritchardMerge pull request #96 from feed-rs/fix-github-actions7aeef1a

v0.5.1
920 B42 linesraw
1on: push
2
3name: Continuous integration
4
5jobs:
6  ci:
7    runs-on: ubuntu-latest
8    strategy:
9      matrix:
10        rust:
11          - stable
12#          - beta
13#          - nightly
14          - 1.48.0  # Used in freedesktop sdk - tracks https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/master/elements/components/rust.bst#L114
15
16    steps:
17      - uses: actions/checkout@v2
18
19      - uses: actions-rs/toolchain@v1
20        with:
21          profile: minimal
22          toolchain: ${{ matrix.rust }}
23          override: true
24          components: rustfmt, clippy
25
26      - uses: actions-rs/cargo@v1
27        with:
28          command: build
29
30      - uses: actions-rs/cargo@v1
31        with:
32          command: test
33
34      - uses: actions-rs/cargo@v1
35        with:
36          command: fmt
37          args: --all -- --check
38
39      - uses: actions-rs/cargo@v1
40        with:
41          command: clippy
42          args: -- -D warnings