Skip to content

First implementation of retry=if_errors and retry=if_not_errors #7

First implementation of retry=if_errors and retry=if_not_errors

First implementation of retry=if_errors and retry=if_not_errors #7

Workflow file for this run

name: Rust format, build and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
rust_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt --all -- --check
# rust_clippy:
# needs: [rust_format]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Clippy (default)
# run: cargo clippy --all-targets -- -D warnings
# - name: Clippy (tokio)
# run: cargo clippy --all-targets --features tokio -- -D warnings
# - name: Clippy (async_std)
# run: cargo clippy --all-targets --features async_std -- -D warnings
rust_build_and_test:
needs: [rust_format]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose