Install ClamAV in temporary directory #156
Workflow file for this run
This file contains 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: Test action | |
on: [push, pull_request] | |
jobs: | |
clamd_macos: | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start ClamAV daemon | |
uses: ./ | |
- name: Ping clamd on TCP port 3310 | |
run: echo PING | nc localhost 3310 | |
- name: Ping clamd using the Unix socket | |
run: echo PING | nc -U /tmp/clamd.socket | |
- name: Shut down clamd | |
run: echo SHUTDOWN | nc localhost 3310 | |
clamd_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start ClamAV daemon | |
uses: ./ | |
- name: Ping clamd on TCP port 3310 | |
run: echo PING | nc localhost 3310 | |
- name: Ping clamd using the Unix socket | |
run: echo PING | nc -U /tmp/clamd.socket | |
- name: Shut down clamd | |
run: echo SHUTDOWN | nc localhost 3310 | |
clamd_windows: | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start ClamAV daemon | |
uses: ./ | |
- name: Test the connection to clamd on TCP port 3310 | |
run: Test-NetConnection -ComputerName localhost -Port 3310 | |
clamd_windows_issue_1: | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start ClamAV daemon | |
uses: ./ | |
- name: Check out code again | |
uses: actions/checkout@v4 |