Skip to content

Merge pull request #1 from brunojppb/poc-web-server #7

Merge pull request #1 from brunojppb/poc-web-server

Merge pull request #1 from brunojppb/poc-web-server #7

Workflow file for this run

name: "CI Checks"
on:
push:
pull_request:
jobs:
lint:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
- name: Run Clippy
env:
RUSTFLAGS: "-Dwarnings"
run: cargo clippy --all-targets --all-features
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features