limbo/.github/shared/install_sqlite/action.yml

15 lines
494 B
YAML

name: "Install SQLite"
description: "Installs sqlite3 CLI for compat tests that invoke it as a subprocess (make test-compat)"
runs:
using: "composite"
steps:
- name: Install SQLite
env:
SQLITE_VERSION: "3510100"
YEAR: 2025
run: |
curl -o /tmp/sqlite.zip https://sqlite.org/$YEAR/sqlite-tools-linux-x64-$SQLITE_VERSION.zip > /dev/null
echo "y" | unzip -j /tmp/sqlite.zip sqlite3 -d /usr/local/bin/
sqlite3 --version
shell: bash