build(deps): bump redb from 2.5.0 to 2.6.0 #800
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "gate" | |
on: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: ${{ github.workspace }}/db.sqlite3 | |
RUST_LOG: OFF,exporter=DEBUG | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: sqlite3 | |
version: 1.0 | |
- name: checkout db.sqlite3.tar.xz | |
run: | | |
git fetch origin db | |
git restore --source origin/db db.sqlite3.tar.xz | |
tar -xf db.sqlite3.tar.xz | |
- name: Install Nix | |
uses: cachix/install-nix-action@v31 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install taplo | |
run: | | |
curl -fsSL https://github.com/tamasfe/taplo/releases/latest/download/taplo-full-linux-x86_64.gz \ | gzip -d - | install -m 755 /dev/stdin /usr/local/bin/taplo | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Check Rust | |
env: | |
RUST_LOG: DEBUG | |
run: | | |
pip install pre-commit | |
cargo clippy --all -- -Dwarnings | |
cargo test --all | |
- name: regenerate data.json | |
run: | | |
cargo r -p exporter -- -o data/extensions.json | |
- name: Check Ts | |
working-directory: ./scripts | |
run: | | |
deno test --allow-all |