From 4a05634c5f9ec73f1e43c5d44a9832d6d9768103 Mon Sep 17 00:00:00 2001 From: Putta Khunchalee Date: Sat, 20 Jul 2024 18:55:21 +0700 Subject: [PATCH] Initializes CI --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..edc0a45 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Development Build +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout source + uses: actions/checkout@v4 + - name: Check code styles + run: cargo fmt --check + - name: Lint obfw + run: cargo clippy --package obfw --all-features -- -D warnings