handle some networking errors #679
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: lint | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Run cargo check | |
uses: clechasseur/rs-cargo@v2 | |
continue-on-error: true | |
with: | |
command: check | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Run cargo test | |
uses: clechasseur/rs-cargo@v2 | |
continue-on-error: true | |
with: | |
command: test | |
lints: | |
name: Lints | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Run cargo fmt | |
uses: clechasseur/rs-cargo@v2 | |
continue-on-error: true | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Run cargo clippy | |
uses: clechasseur/rs-cargo@v2 | |
continue-on-error: true | |
with: | |
command: clippy | |
args: -- -D warnings |