1234567891011121314151617181920212223242526272829 |
- name: PR
- on:
- pull_request:
- jobs:
- test:
- name: Test
- runs-on: ubuntu-latest
- strategy:
- matrix:
- rust: [1.31.0, stable]
- steps:
- - uses: actions/checkout@v3
- - uses: dtolnay/rust-toolchain@master
- with:
- toolchain: ${{ matrix.rust }}
- - run: cargo build
- - run: ./ci/test_full.sh
- fmt:
- name: Format
- runs-on: ubuntu-latest
- steps:
- - uses: dtolnay/[email protected]
- with:
- components: rustfmt
- - uses: actions/checkout@v3
- - run: cargo fmt --all --check
|