Skip to content

Commit

Permalink
πŸš€ deploy(actions): add build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: xtrm <[email protected]>
  • Loading branch information
xtrm-en committed Jan 30, 2024
1 parent 361c5e2 commit c81d1b5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Check & Clippy
run: cargo check --verbose && cargo clippy --verbose -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit c81d1b5

Please sign in to comment.