|
|
|
@ -12,12 +12,9 @@ jobs: |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
- name: Install toolchain |
|
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
|
uses: hecrj/setup-rust-action@v1 |
|
|
|
|
with: |
|
|
|
|
toolchain: stable |
|
|
|
|
components: rustfmt |
|
|
|
|
profile: minimal |
|
|
|
|
override: true |
|
|
|
|
|
|
|
|
|
- run: cargo fmt -- --check |
|
|
|
|
|
|
|
|
@ -37,11 +34,9 @@ jobs: |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
- name: Install toolchain |
|
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
|
uses: hecrj/setup-rust-action@v1 |
|
|
|
|
with: |
|
|
|
|
toolchain: ${{ matrix.rust }} |
|
|
|
|
profile: minimal |
|
|
|
|
override: true |
|
|
|
|
rust-version: ${{ matrix.rust }} |
|
|
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
|
run: | |
|
|
|
@ -102,11 +97,9 @@ jobs: |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
- name: Install toolchain |
|
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
|
uses: hecrj/setup-rust-action@v1 |
|
|
|
|
with: |
|
|
|
|
toolchain: ${{ matrix.rust }} |
|
|
|
|
profile: minimal |
|
|
|
|
override: true |
|
|
|
|
rust-version: ${{ matrix.rust }} |
|
|
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
|
run: | |
|
|
|
|