Skip to content

Commit

Permalink
Add a GitHub action to run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuzz committed Dec 12, 2024
1 parent e3459c2 commit bf0a41d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI
on:
push:
branches:
- '*'

jobs:
CI:
runs-on: ubuntu-latest

steps:
- name: Install Rust prerequisites
run: sudo apt update && sudo apt install -y curl build-essential pkg-config

- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: clippy
rustflags: '' # Use .cargo/config

- uses: actions/checkout@v3
- run: cargo test --locked --release
- run: cargo check --locked --release
- run: cargo clippy --locked --release
- run: cargo build --locked --release

0 comments on commit bf0a41d

Please sign in to comment.