Skip to content

Commit

Permalink
ci: add initial CI workflow (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobkaufmann authored Jan 26, 2024
1 parent c6fd175 commit 75da65f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
lfs: true
- name: build
run: cargo build --all --all-targets --all-features --verbose
- name: test
run: cargo test --all --all-features --verbose

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: format
run: cargo fmt --all --check
- name: clippy
run: cargo clippy --all --all-targets --all-features --verbose

0 comments on commit 75da65f

Please sign in to comment.