Skip to content

Commit

Permalink
Naming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebin-mathews committed Jan 11, 2024
1 parent eab41bf commit e72c879
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build

on:
pull_request:
Expand All @@ -24,9 +24,6 @@ jobs:
with:
caller-workflow-name: test

- name: Clippy check
run: cargo clippy --all-features --all-targets --tests -- -D warnings

- name: Run tests
run: |
./run_proxy_server.sh && ./stop_proxy_server.sh
47 changes: 47 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Lint
description: 'Run linters on the repository'

on:
pull_request:

jobs:
lint_proxy_server:
runs-on: ubuntu-20.04-16c-64g
defaults:
run:
working-directory: ./proxy_server
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Sanity Check
run: |
cat /proc/cpuinfo
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
caller-workflow-name: test

- name: Setup Rust tools
run: |
cargo install cargo-sort
cargo install cargo-udeps
shell: bash

- name: cargo sort
run: cargo sort --workspace --check
shell: bash

- name: cargo fmt
run: cargo fmt --all --check
shell: bash

- name: Clippy check
run: cargo clippy --all-features --all-targets --tests -- -D warnings

- name: cargo udeps
run: cargo udeps --all-features --all-targets --tests
shell: bash
File renamed without changes.

0 comments on commit e72c879

Please sign in to comment.