From 8d0e02e58ebebcfebab51981e3cfaf65faa1aec5 Mon Sep 17 00:00:00 2001 From: Trevor Settles Date: Sun, 8 Oct 2023 19:38:55 -0600 Subject: [PATCH] dev: updated rust ci --- .github/workflows/main.yml | 13 ------------- .github/workflows/rust.yml | 9 +++++---- 2 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 00db96b..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,13 +0,0 @@ -on: push -jobs: - test: - runs-on: ubuntu-latest - steps: - - - name: Install Dagger - uses: dagger/dagger-for-github@v4 - with: - install-only: true - - - name: Show Dagger version - run: dagger-cue version diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1b7e28c..111c0ac 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,6 +8,7 @@ on: env: CARGO_TERM_COLOR: always + RUSTFLAGS: "-Dwarnings" jobs: build: @@ -16,9 +17,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Get Version - run: rustc --version --verbose + - name: Check + run: cargo check --verbose - name: Run tests run: cargo test --verbose + - name: Clippy + run: cargo clippy --verbose --all