Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
quackzar committed Apr 17, 2024
1 parent b03d6f0 commit f6d93a8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 38 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Test Suite"
on:
push:
pull_request:

jobs:
test:
name: cargo test
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test

# Check formatting with rustfmt
formatting:
name: cargo fmt
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
38 changes: 0 additions & 38 deletions ccare/mexcare.cpp

This file was deleted.

3 changes: 3 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# vim: ft=toml
[toolchain]
channel = "nightly-2024-04-17"

0 comments on commit f6d93a8

Please sign in to comment.