fork/raki

git clone https://git.julia.blue/fork/raki

Norimasa TakanaMerge pull request #12 from Alignof/developf2fe876

master
666 B35 linesraw
1name: Rust
2
3on:
4  push:
5    branches:
6      - master
7  pull_request: null
8
9jobs:
10  rust:
11    runs-on: ubuntu-latest
12    steps:
13      - uses: actions/checkout@v4
14
15      - name: install clippy
16        uses: dtolnay/rust-toolchain@stable
17        with:
18          components: clippy
19
20      - uses: sksat/action-clippy@v1.0.0
21        if: github.event_name == 'push'
22        with:
23          reporter: github-check
24
25      - uses: sksat/action-clippy@v1.0.0
26        if: github.event_name == 'pull_request'
27        with:
28          reporter: github-pr-review
29
30      - name: format check
31        run: cargo fmt --all -- --check
32
33      - name: unit test
34        run: cargo test
35