Skip to content

localhost -> 127.0.0.1 #7

localhost -> 127.0.0.1

localhost -> 127.0.0.1 #7

Workflow file for this run

name: CI
on:
push:
branches: [ "*" ]
pull_request:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo test default
run: cargo test --all-targets
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo fmt
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo clippy
run: |
cargo clippy --all-targets -- -W clippy::all -W clippy::pedantic \
-A clippy::used-underscore-binding \
-A clippy::doc_markdown \
-A clippy::needless_pass_by_value \
-A clippy::must_use_candidate \
-A clippy::return_self_not_must_use \
-A clippy::missing_errors_doc \
-A clippy::single_match \
-A clippy::uninlined_format_args \
-A clippy::no_effect_underscore_binding
client-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo test
run: cd metrics-scope && cargo test --verbose --all-features --all-targets
client-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo fmt
run: cd metrics-scope && cargo fmt --check
client-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cargo clippy
run: |
cd metrics-scope && cargo clippy --all-targets -- -W clippy::all -W clippy::pedantic \
-A clippy::used-underscore-binding \
-A clippy::doc_markdown \
-A clippy::needless_pass_by_value \
-A clippy::must_use_candidate \
-A clippy::return_self_not_must_use \
-A clippy::missing_errors_doc \
-A clippy::single_match \
-A clippy::uninlined_format_args \
-A clippy::no_effect_underscore_binding