+/livesplit-wrapper

git clone https://git.julia.blue/+/livesplit-wrapper

Joseph RyanAdd READMEc80c193

main
1.4 KiB62 linesraw
1name: Continuous integration
2on:
3  push:
4    branches: [main]
5
6jobs:
7  build:
8    runs-on: ubuntu-latest
9    steps:
10      - uses: actions/checkout@v2
11      - uses: actions-rs/toolchain@v1
12        with:
13          profile: minimal
14          toolchain: stable
15          override: true
16          target: wasm32-unknown-unknown
17      - uses: actions-rs/cargo@v1
18        with:
19          command: build
20          args: --target wasm32-unknown-unknown
21
22  test:
23    runs-on: ubuntu-latest
24    steps:
25      - uses: actions/checkout@v2
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  format:
36    runs-on: ubuntu-latest
37    steps:
38      - uses: actions/checkout@v2
39      - uses: actions-rs/toolchain@v1
40        with:
41          profile: minimal
42          toolchain: nightly
43          override: true
44          components: rustfmt
45      - uses: actions-rs/cargo@v1
46        with:
47          command: fmt
48          args: -- --check
49
50  clippy:
51    runs-on: ubuntu-latest
52    steps:
53      - uses: actions/checkout@v2
54      - uses: actions-rs/toolchain@v1
55        with:
56          profile: minimal
57          toolchain: nightly
58          override: true
59          components: clippy
60      - uses: actions-rs/clippy-check@v1
61        with:
62          token: ${{ secrets.GITHUB_TOKEN }}