From 4b51cea2b2e83b2fca91592ca5a530daf999a977 Mon Sep 17 00:00:00 2001 From: Audrow Nash Date: Tue, 6 Feb 2024 22:13:06 -0600 Subject: [PATCH] Add CI --- .github/workflows/ci.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..8d83997 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: Rust CI + +on: + push: + schedule: + - cron: '0 0 * * *' + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Check formatting + run: cargo fmt -- --check + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose