Skip to content

Commit

Permalink
chore: added clamav to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jun 12, 2022
1 parent 47e1915 commit 3294ed6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,29 @@ jobs:
- 14
- 16
- 18
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
redis-version:
- 5
- 6
name: Node ${{ matrix.node_version }} on ${{ matrix.os }} with Redis {{ matrix.redis-version }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
with:
redis-version: ${{ matrix.redis-version }}
- name: Install ClamAV
run:
- sudo apt-get update -qq
- sudo apt-get install clamav-daemon clamav-freshclam clamav-unofficial-sigs -qq
- sudo service clamav-freshclam restart
- sleep 30
- sudo service clamav-daemon start
- sleep 30
- sudo service clamav-daemon status -l
- name: Install dependencies
run: npm install
- name: Run tests
Expand Down

0 comments on commit 3294ed6

Please sign in to comment.