Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
tags:
- "*"
pull_request:
Expand All @@ -22,11 +22,10 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.81.0
toolchain: 1.88.0
components: rustfmt, clippy
override: true

# Verify rustc version
- name: Check rustc version
run: rustc --version

Expand All @@ -39,11 +38,15 @@ jobs:
target
key: cargo-cache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}

- name: Format check
run: cargo fmt --all -- --check

- name: Clippy (deny warnings)
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Run tests
run: cargo test --all --all-features --verbose
- name: Install cargo-deny (fast)
uses: taiki-e/install-action@v2
with:
tool: cargo-deny
version: 0.18.5

- name: Run CI checks
run: |
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all --all-features --verbose
cargo deny check licenses bans sources
2 changes: 1 addition & 1 deletion .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: MSRV
on:
push:
branches:
- master
- main
tags:
- "*"
pull_request:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,12 @@ jobs:
with:
tool: cargo-deny

- name: Cache cargo-deny DB
uses: actions/cache@v4
with:
path: ~/.cargo/advisory-db
key: cargo-deny-advisory-db-${{ hashFiles('**/Cargo.toml') }}

- name: Run CI checks
run: |
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all --all-features --verbose
cargo deny check licenses bans advisories sources
cargo deny check licenses bans sources

- name: Publish to crates.io
env:
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/sec.yml

This file was deleted.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "rawsql"
version = "0.2.0"
edition = "2021"
authors = ["Manuel Alonso <[email protected]>"]
license = "MIT"
description = "A rust library for reusing SQL"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can integrate rawsql into your project through the [releases on crates.io](h
```toml
# Cargo.toml
[dependencies]
rawsql = "0.1.1"
rawsql = "0.2.0"
```

## Overview
Expand Down
2 changes: 0 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ allow = [
[sources]
unknown-registry = "deny"
unknown-git = "deny"

[advisories]
Loading