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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
targets: ${{ matrix.target }}

- name: Build
run: cargo build --release --target ${{ matrix.target }}
run: cargo build --locked --release --target ${{ matrix.target }}

- name: Package
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ name: Security audit
on:
pull_request:
paths:
- src/**
- Cargo.toml
- Cargo.lock
- .github/workflows/security.yml
push:
branches:
- master
paths:
- src/**
- Cargo.toml
- Cargo.lock
- .github/workflows/security.yml
Expand Down Expand Up @@ -41,6 +43,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install minimum supported Rust
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
with:
toolchain: 1.85.0
- name: Check dependencies
run: cargo check --all-targets --all-features --locked
- name: Test
Expand Down
51 changes: 25 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "notion-cli"
version = "0.2.1"
edition = "2021"
rust-version = "1.75"
rust-version = "1.85"
description = "A command-line interface for the Notion API"
license = "MIT"
repository = "https://github.com/mimo-3/notion-cli"
Expand Down Expand Up @@ -38,7 +38,7 @@ chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
url = "2"
dialoguer = "0.11"
comfy-table = "7"
comfy-table = "=7.2.1"
rand = "0.8"
open = "5"
base64 = { version = "0.23", default-features = false, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The official Notion CLI (`ntn`) focuses on pages and Workers, leaving most of th

```bash
# From source
cargo install --path .
cargo install --locked --path .

# Or build directly
cargo build --release
Expand Down