Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
seanses committed Sep 12, 2024
1 parent b65f57f commit dca65e1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: xet-core CI

on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


jobs:
build_and_test:
runs-on:
group: cpu-high
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust 1.79
uses: dtolnay/rust-toolchain@1.79.0
with:
components: clippy
- name: Lint
run: |
cargo clippy -r --verbose -- -D warnings # elevates warnings to errors
- name: Build and Test
run: |
cargo test --verbose --no-fail-fast --features "strict"

0 comments on commit dca65e1

Please sign in to comment.