Skip to content

ci: add github actions #4

ci: add github actions

ci: add github actions #4

Workflow file for this run

name: Test
on: [ push, pull_request ]
jobs:
sqlite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install SQLite, git
run: |
sudo apt-get install -y git sqlite3
shell: bash
- name: Checkout MalwareDB
run: |
git clone https://github.com/malwaredb/malwaredb-rs.git
- name: Create database
run: |
sqlite3 test.db < malwaredb-rs/crates/server/src/db/malwaredb_sqlite.sql
- name: Load sources
run: |
echo `pwd`
echo `ls -lah`
for src in `ls sources/*.sql`
do
sqlite3 test.db < $src
done