Skip to content

Commit

Permalink
Add CI build, test and lint step for httpd
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinez committed Jun 5, 2024
1 parent a590ee8 commit 4e92c4d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/check-httpd-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: check-httpd-server
on: push

jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./httpd-server
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features
docs:
name: Docs
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./httpd-server
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Docs
run: cargo doc --all --all-features
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./httpd-server
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: cargo clippy --all --tests
- name: Check formatting
run: cargo fmt --all --check

0 comments on commit 4e92c4d

Please sign in to comment.