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