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
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [main]
pull_request:
schedule:
- cron: "37 5 * * 2"

permissions:
contents: read

jobs:
test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --locked
- run: cargo test --locked --all-targets

audit:
name: Security audit
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
issues: write
steps:
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
restore-keys: ${{ matrix.target }}-cargo-

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

- name: Package (unix)
if: runner.os != 'Windows'
Expand Down
5 changes: 2 additions & 3 deletions .tabularium
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "hackernews",
"name": "Hacker News",
"version": "0.1.1",
"version": "0.1.2",
"kind": "driver",
"description": "Query Hacker News stories, comments, users and polls as SQL tables using the public API.",
"engine": "hackernews",
Expand All @@ -11,7 +11,6 @@
"executable": "tabularis-hackernews-plugin",
"color": "#ff6600",
"icon": "https://raw.githubusercontent.com/TabularisDB/tabularis-hackernews-plugin/main/hackernews-logo.png",
"lucide_icon": "rss",
"capabilities": {
"schemas": false,
"views": false,
Expand Down Expand Up @@ -85,7 +84,7 @@
"label": "Comment Depth",
"type": "number",
"default": 1,
"description": "How many nesting levels of comments to fetch (1–3). Higher values fetch many more requests."
"description": "How many nesting levels of comments to fetch (1\u20133). Higher values fetch many more requests."
},
{
"key": "max_comments",
Expand Down
Loading
Loading